diff options
author | James Chapman <jchapman@katalix.com> | 2008-12-16 10:23:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-16 10:23:49 +0100 |
commit | ffcebb163c6ddba11abd2e8aabc7a8a88982e4f4 (patch) | |
tree | b531cdc5afb34dae85d67aef5607d344996e1f44 /drivers/net/can | |
parent | Phonet: improve GPRS variable names (diff) | |
download | linux-ffcebb163c6ddba11abd2e8aabc7a8a88982e4f4.tar.xz linux-ffcebb163c6ddba11abd2e8aabc7a8a88982e4f4.zip |
l2tp: fix UDP checksum support
The pppol2tp driver has had broken UDP checksum code for a long
time. This patch fixes it. If UDP checksums are enabled in the
tunnel's UDP socket, the L2TP driver now properly validates the
checksum on receive and fills in the checksum on transmit. If the
network device has hardware checksum support and is enabled, it is
used instead of generating/checking the checksum in software.
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions