• Pablo Neira Ayuso's avatar
    net: use flow_indr_dev_setup_offload() · 0fdcf78d
    Pablo Neira Ayuso authored
    Update existing frontends to use flow_indr_dev_setup_offload().
    
    This new function must be called if ->ndo_setup_tc is unset to deal
    with tunnel devices.
    
    If there is no driver that is subscribed to new tunnel device
    flow_block bindings, then this function bails out with EOPNOTSUPP.
    
    If the driver module is removed, the ->cleanup() callback removes the
    entries that belong to this tunnel device. This cleanup procedures is
    triggered when the device unregisters the tunnel device offload handler.
    Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0fdcf78d
nf_flow_table_offload.c 29.3 KB