]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'inet_csums_part2'
authorDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 03:48:01 +0000 (23:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 03:48:01 +0000 (23:48 -0400)
commit71e05a73309a6fb97dd5ad2c372f18e36b36a1d6
tree3e3a8bf63676f025cca73ac50fd7e3645d7b138e
parentfef1875322db841c020b4de742ae60a8b89f9ea8
parentd60b6b0a36c4339fe80619e0a2441bc0feb61238
Merge branch 'inet_csums_part2'

Tom Herbert says:

====================
net: Checksum offload changes - Part II

I am working on overhauling RX checksum offload. Goals of this effort
are:

- Specify what exactly it means when driver returns CHECKSUM_UNNECESSARY
- Preserve CHECKSUM_COMPLETE through encapsulation layers
- Don't do skb_checksum more than once per packet
- Unify GRO and non-GRO csum verification as much as possible
- Unify the checksum functions (checksum_init)
- Simply code

What is in this second patch set:

- Call common inet checksum validation functions in ICMP{4,6},
  GRE{4,6}, and IGMP.
- In UDP, verify checksum before handing off to encap_rcv.
- Remove custom UDP checksum validation code in L2TP.

Please review carefully and test if possible, mucking with basic
checksum functions is always a little precarious :-)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>