]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Fix UDP checksum issue in net poll mode.
authorAubrey.Li <aubreylee@gmail.com>
Tue, 17 Apr 2007 19:40:20 +0000 (12:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 17 Apr 2007 20:13:26 +0000 (13:13 -0700)
commite07c1a71b1e57234fdc5262900a76097a76d42d2
tree608dee7ca9e99458e3f6ad799e23e607322e95a1
parent615911dbaa7cab30b377ec532924324c98b8499d
[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>
net/core/netpoll.c