diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-07-13 14:10:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 22:16:31 (GMT) |
commit | b73c43f884b1b26ef8e824a33f3924f92e493c11 (patch) | |
tree | 83b71863345ef94720c00b4d7aedc387d3eee8c7 /drivers/uio | |
parent | 51414d41084496aaefd06d7f19eb8206e8bfac2d (diff) | |
download | linux-fsl-qoriq-b73c43f884b1b26ef8e824a33f3924f92e493c11.tar.xz |
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/uio')
0 files changed, 0 insertions, 0 deletions