net: rps: skip fragment when computing rxhash
authorChangli Gao <xiaosuo@gmail.com>
Tue, 17 Aug 2010 19:01:38 +0000 (19:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2010 00:10:38 +0000 (17:10 -0700)
commitdbe5775bbc00116ed5699babfe17c54f32eb34c3
treea835930d949396e1803384a549c7cafe59c3c053
parent2d47b45951af087c1a4439c559309b0bf90a0718
net: rps: skip fragment when computing rxhash

Fragmented IP packets may have no transfer header, so when computing
rxhash, we should skip them.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c