sch_choke: use skb_header_pointer()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 8 Nov 2011 10:45:04 +0000 (10:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 21:41:31 +0000 (16:41 -0500)
commit9ecd04bc04af7df98b3a93c571e31b6ef6a90681
tree3850ea9ffad64f46cfa20ac7b9a2c8e0f4b56517
parent8d8bdfe8034399357df58b5f3e4da638a9e9a257
sch_choke: use skb_header_pointer()

Remove the assumption that skb_get_rxhash() makes IP header and ports
linear, and use skb_header_pointer() instead in choke_match_flow()

This permits __skb_get_rxhash() to use skb_header_pointer() eventually.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_choke.c