]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22ea0bc5bdbe75b922c328af8233a87530de06ce
tree7fc1b076a979efaf3516e678bc0db71541eab927
parent587dc856f1da5ad60ec188a5a3414d82d305126e
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