]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
udp: Generic functions to set checksum
authorTom Herbert <therbert@google.com>
Thu, 5 Jun 2014 00:19:48 +0000 (17:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 05:46:38 +0000 (22:46 -0700)
commitaf5fcba7f38f3166392f4087ab734433c84f160b
tree8a6deba10cd458a72e159112ab6381bcaa352b3e
parent6579867c8b02606e101a6c511c2511b027ed3f4a
udp: Generic functions to set checksum

Added udp_set_csum and udp6_set_csum functions to set UDP checksums
in packets. These are for simple UDP packets such as those that might
be created in UDP tunnels.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_checksum.h
include/net/udp.h
net/ipv4/udp.c
net/ipv6/ip6_checksum.c