Edward Cree efe6aaca67 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>
2018-07-06 11:19:07 +09:00
..
2018-05-16 07:24:30 +02:00
2017-10-21 01:33:19 +01:00
2018-04-23 10:21:24 -04:00
2018-05-16 07:24:30 +02:00
2018-06-22 13:43:27 +09:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-06-22 13:43:27 +09:00
2018-06-22 13:43:27 +09:00
2018-06-12 16:19:22 -07:00
2017-10-16 21:24:25 +01:00
2018-05-18 11:40:27 -04:00
2018-02-28 11:43:28 -05:00