pkt_sched: fq: remove useless TIME_WAIT check
authorEric Dumazet <edumazet@google.com>
Wed, 28 Jan 2015 14:06:36 +0000 (06:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jan 2015 07:23:57 +0000 (23:23 -0800)
commit86b3bfe914f41c2d47d5882d06e1261cc58fb5e9
tree32910ee71e6efd00ef820bc1a84b5b9c6a0bdfd4
parent2dbce096ca3ac18711f72e517ed9674d53310b67
pkt_sched: fq: remove useless TIME_WAIT check

TIME_WAIT sockets are not owning any skb.

ip_send_unicast_reply() and tcp_v6_send_response() both use
regular sockets.

We can safely remove a test in sch_fq and save one cache line miss,
as sk_state is far away from sk_pacing_rate.

Tested at Google for about one year.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c