ipvlan: Cache net in ipvlan_process_v4_outbound and ipvlan_process_v6_outbound
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 7 Oct 2015 21:48:44 +0000 (16:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:27:01 +0000 (04:27 -0700)
commit57c4bf859cad9d6c4f73d8c98a95e00f156301e0
tree7fc1b076a979efaf3516e678bc0db71541eab927
parenta7093fefa543afad2bf292bba163800e81a4ba33
ipvlan: Cache net in ipvlan_process_v4_outbound and ipvlan_process_v6_outbound

Compute net once in ipvlan_process_v4_outbound and
ipvlan_process_v6_outbound and store it in a variable so that net does
not need to be recomputed next time it is used.

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