diff options
author | Eric Dumazet <edumazet@google.com> | 2012-08-04 20:26:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-06 13:40:47 -0700 |
commit | d25398df59b561a26cb4000ceb4dea8a3ff94d22 (patch) | |
tree | e5dfb19ca7a9d1dc7cfed76709ebc2c16c3200f1 /include/net/nexthop.h | |
parent | 9eb43e765368f835d92c93844ebce30da7efeb84 (diff) |
net: avoid reloads in SNMP_UPD_PO_STATS
Avoid two instructions to reload dev->nd_net->mib.ip_statistics pointer,
unsing a temp variable, in ip_rcv(), ip_output() paths for example.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/nexthop.h')
0 files changed, 0 insertions, 0 deletions