diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-22 00:49:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-22 00:49:19 +0100 |
commit | f757fec4b0d45dfcb52f9a914a12225a6a0a3e05 (patch) | |
tree | d8fbf1095f723f8ad19014910a92a44ff2058c16 /drivers/net/wan/hdlc_fr.c | |
parent | pkt_sched: sch_drr: Fix qlen in drr_drop() (diff) | |
download | linux-f757fec4b0d45dfcb52f9a914a12225a6a0a3e05.tar.xz linux-f757fec4b0d45dfcb52f9a914a12225a6a0a3e05.zip |
net: use net_eq() in INET_MATCH and INET_TW_MATCH
We can avoid some useless instructions if !CONFIG_NET_NS
Because of RCU, we use INET_MATCH or INET_TW_MATCH twice for the found
socket, so thats six instructions less per incoming TCP packet.
Yet another tbench speedup :)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc_fr.c')
0 files changed, 0 insertions, 0 deletions