diff options
author | Edward Cree <ecree@solarflare.com> | 2018-07-05 17:47:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-06 05:19:07 +0300 |
commit | efe6aaca67a0229a195f493d142102c864b41dde (patch) | |
tree | 04ac8eb3f34139235484304995944505d8c0995e /net/ipv6 | |
parent | 2cc0608e42aceb38abc9e57a017449b9efc2e4a9 (diff) | |
download | linux-efe6aaca67a0229a195f493d142102c864b41dde.tar.xz |
net: ipv4: fix list processing on L3 slave devices
If we have an L3 master device, l3mdev_ip_rcv() will steal the skb, but
we were returning NET_RX_SUCCESS from ip_rcv_finish_core() which meant
that ip_list_rcv_finish() would keep it on the list. Instead let's
move the l3mdev_ip_rcv() call into the caller, so that our response to
a steal can be different in the single packet path (return
NET_RX_SUCCESS) and the list path (forget this packet and continue).
Fixes: 5fa12739a53d ("net: ipv4: listify ip_rcv_finish")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions