]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NET]: Fix UDP checksum issue in net poll mode.
authorAubrey Li <aubreylee@gmail.com>
Thu, 19 Apr 2007 23:40:19 +0000 (01:40 +0200)
committerAdrian Bunk <bunk@stusta.de>
Thu, 19 Apr 2007 23:40:19 +0000 (01:40 +0200)
commit691d4b9f4f4479edb4c3c63c7dbf5c5fa1ce0979
treee8ea595e2c351c5c2ced58db868954cfcfb025c6
parentf1e0381bf5d781ee6c03ec7ddaa91e950869e472
[NET]: Fix UDP checksum issue in net poll mode.

In net poll mode, the current checksum function doesn't consider the
kind of packet which is padded to reach a specific minimum length. I
believe that's the problem causing my test case failed. The following
patch fixed this issue.

Signed-off-by: Aubrey Li <aubreylee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/core/netpoll.c