Skip to content
Commit d25398df authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9eb43e76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment