]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
openvswitch: Fix checksum update for actions on UDP packets.
authorJesse Gross <jesse@nicira.com>
Tue, 6 Mar 2012 23:05:46 +0000 (15:05 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 7 Mar 2012 22:36:57 +0000 (14:36 -0800)
commit81e5d41d7ed4f6c61ba3d2414f4f9ddf6d934ebb
treec85f6f4cd07c34a633475a4667f418bf402d21a9
parent651a68ea2ce9738b84e928836053b2e0fb5db2ba
openvswitch: Fix checksum update for actions on UDP packets.

When modifying IP addresses or ports on a UDP packet we don't
correctly follow the rules for unchecksummed packets.  This meant
that packets without a checksum can be given a incorrect new checksum
and packets with a checksum can become marked as being unchecksummed.
This fixes it to handle those requirements.

Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/actions.c