• Vlad Buslov's avatar
    netfilter: flowtable: cache info of last offload · 1a441a9b
    Vlad Buslov authored
    Modify flow table offload to cache the last ct info status that was passed
    to the driver offload callbacks by extending enum nf_flow_flags with new
    "NF_FLOW_HW_ESTABLISHED" flag. Set the flag if ctinfo was 'established'
    during last act_ct meta actions fill call. This infrastructure change is
    necessary to optimize promoting of UDP connections from 'new' to
    'established' in following patches in this series.
    Signed-off-by: default avatarVlad Buslov <vladbu@nvidia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1a441a9b
act_ct.c 39.6 KB