]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Cache net in iptunnel_xmit
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 7 Oct 2015 21:48:41 +0000 (16:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:26:59 +0000 (04:26 -0700)
commitcd3e4d06e9860bfa814f581c4196fecf5957857d
tree6846a844be6dcfa407d4efcd5b3393d1f203c66a
parent1b1e4a1956086f8d167c3aed722ca289eb5b924d
ipv4: Cache net in iptunnel_xmit

Store net in a variable in ip_tunnel_xmit so it does not need
to be recomputed when it is used again.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel_core.c