Eric W. Biederman 37fcbab61b ipv4: Only compute net once in ip_call_ra_chain
ip_call_ra_chain is called early in the forwarding chain from
ip_forward and ip_mr_input, which makes skb->dev the correct
expression to get the input network device and dev_net(skb->dev) a
correct expression for the network namespace the packet is being
processed in.

Compute the network namespace and store it in a variable to make the
code clearer.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-12 19:44:14 -07:00
..
2015-08-30 18:12:36 -04:00
2015-10-08 04:27:03 -07:00
2015-08-24 14:48:10 -07:00
2015-10-07 04:27:43 -07:00
2015-10-08 04:27:03 -07:00
2015-10-12 19:42:38 -07:00
2015-10-01 16:38:52 -04:00
2015-10-08 04:27:03 -07:00