linux/Documentation
Davide Caratti 43c26a1a45 net: more accurate checksumming in validate_xmit_skb()
skb_csum_hwoffload_help() uses netdev features and skb->csum_not_inet to
determine if skb needs software computation of Internet Checksum or crc32c
(or nothing, if this computation can be done by the hardware). Use it in
place of skb_checksum_help() in validate_xmit_skb() to avoid corruption
of non-GSO SCTP packets having skb->ip_summed equal to CHECKSUM_PARTIAL.

While at it, remove references to skb_csum_off_chk* functions, since they
are not present anymore in Linux  _ see commit cf53b1da73bd ("Revert
 "net: Add driver helper functions to determine checksum offloadability"").

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-19 19:21:29 -04:00
..
2017-05-08 19:03:25 -07:00
2017-05-09 09:49:36 -07:00
2017-04-14 14:00:49 -06:00
2017-05-04 19:15:35 -07:00
2017-05-04 19:15:35 -07:00
2017-05-05 11:36:44 -07:00
2017-05-12 15:57:15 -07:00
2017-05-05 11:48:17 +10:00
2017-05-05 17:34:57 -07:00
2017-05-02 17:34:32 -07:00
2017-05-08 19:03:25 -07:00
2017-04-03 18:53:50 +01:00
2017-03-31 12:55:11 +02:00
2017-04-11 14:35:15 -06:00
2017-02-10 11:15:08 +01:00
2017-05-03 18:41:21 -07:00
2017-05-04 18:03:51 -07:00
2017-03-17 15:10:49 +09:00
2017-04-27 15:54:39 -06:00
2017-02-12 15:20:07 -07:00
2017-04-27 15:54:39 -06:00
2017-04-27 15:54:39 -06:00