diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-07-13 14:10:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 15:16:31 -0700 |
commit | b73c43f884b1b26ef8e824a33f3924f92e493c11 (patch) | |
tree | 83b71863345ef94720c00b4d7aedc387d3eee8c7 /kernel | |
parent | 51414d41084496aaefd06d7f19eb8206e8bfac2d (diff) | |
download | op-kernel-dev-b73c43f884b1b26ef8e824a33f3924f92e493c11.zip op-kernel-dev-b73c43f884b1b26ef8e824a33f3924f92e493c11.tar.gz |
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 'kernel')
0 files changed, 0 insertions, 0 deletions