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)
commitf859b0f662493e4f53d462f5759e3c4302933077
tree6846a844be6dcfa407d4efcd5b3393d1f203c66a
parent792883303cdb3a7edd16017d7aba53926189ef41
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