]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Compute net once in ip_forward
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 16 Sep 2015 01:03:54 +0000 (20:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 00:18:33 +0000 (17:18 -0700)
commit3b3d82b7d45def3e56c074fbbd45288a3a895e9e
tree98e34fa41688a2ddcc8d3efa44b606923c741fb3
parent6ca28521d5edb49482f3ca64536244224e4d2120
ipv4: Compute net once in ip_forward

Compute struct net from the input device in ip_forward before it is
used.

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