Tom Herbert 77cffe23c1 net: Clarification of CHECKSUM_UNNECESSARY
This patch:
 - Clarifies the specific requirements of devices returning
   CHECKSUM_UNNECESSARY (comments in skbuff.h).
 - Adds csum_level field to skbuff. This is used to express how
   many checksums are covered by CHECKSUM_UNNECESSARY (stores n - 1).
   This replaces the overloading of skb->encapsulation, that field is
   is now only used to indicate inner headers are valid.
 - Change __skb_checksum_validate_needed to "consume" each checksum
   as indicated by csum_level as layers of the the packet are parsed.
 - Remove skb_pop_rcv_encapsulation, no longer needed in the new
   csum_level model.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-29 20:41:11 -07:00
..
2014-08-24 23:02:45 -07:00
2014-08-29 20:02:07 -07:00
2014-07-01 23:46:21 -07:00
2014-08-22 12:23:11 -07:00
2013-09-23 16:52:45 -04:00
2014-06-04 22:46:38 -07:00
2014-08-29 20:02:07 -07:00
2014-08-29 20:02:07 -07:00
2014-08-13 18:13:19 -06:00
2014-08-29 20:22:43 -07:00
2013-11-21 13:09:42 -05:00