diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-07-13 16:10:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-15 00:16:31 +0200 |
commit | b73c43f884b1b26ef8e824a33f3924f92e493c11 (patch) | |
tree | 83b71863345ef94720c00b4d7aedc387d3eee8c7 /drivers | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb... (diff) | |
download | linux-b73c43f884b1b26ef8e824a33f3924f92e493c11.tar.xz linux-b73c43f884b1b26ef8e824a33f3924f92e493c11.zip |
net: sctp: fix checksum marking for outgoing packets
Packets to devices without NETIF_F_SCTP_CSUM (including NETIF_F_NO_CSUM)
should be properly checksummed because the packets can be diverted or
rerouted after construction. This still leaves packets diverted from
NETIF_F_SCTP_CSUM-enabled devices with broken checksums. Fixing this
needs implementing software offload fallback in networking core.
For users of sctp_checksum_disable, skb->ip_summed should be left as
CHECKSUM_NONE and not CHECKSUM_UNNECESSARY as per include/linux/skbuff.h.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions