commit | a1fd1ad2552fad9e649eeb85fd79301e2880a886 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Mon Feb 25 13:55:48 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 27 21:44:20 2019 -0800 |
tree | 22c877981dda0460c8ca573dbf8f3f0c346a201a | |
parent | e27775a4bec55d3fa99c4f325b88871ad8ab10fc [diff] |
ipv4: Pass original device to ip_rcv_finish_core ip_route_input_rcu expects the original ingress device (e.g., for proper multicast handling). The skb->dev can be changed by l3mdev_ip_rcv, so dev needs to be saved prior to calling it. This was the behavior prior to the listify changes. Fixes: 5fa12739a53d0 ("net: ipv4: listify ip_rcv_finish") Cc: Edward Cree <ecree@solarflare.com> Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>