]> 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)
commit46e4e9a290a39e7a58eacd4371165018b49ae1ef
tree3e3a8bf63676f025cca73ac50fd7e3645d7b138e
parent84defe4a15342d29b8565dd56f46a4d1d99e6c2f
parent4dd72184f70b4dc54c3dc0148788809bd8220c5b
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>