commit | bbdff225ede6527f91184b2a7903df8aad803ace | [log] [tgz] |
---|---|---|
author | Tom Herbert <therbert@google.com> | Sat Jun 14 23:24:20 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 15 01:00:49 2014 -0700 |
tree | e174f88e8d58e5fc8c6b5f21faa6f0b654c25709 | |
parent | 46fb51eb96cafb2c148b7b5119adb5e31a2bf3c4 [diff] |
udp: call __skb_checksum_complete when doing full checksum In __udp_lib_checksum_complete check if checksum is being done over all the data (len is equal to skb->len) and if it is call __skb_checksum_complete instead of __skb_checksum_complete_head. This allows checksum to be saved in checksum complete. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>