]> git.baikalelectronics.ru Git - kernel.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)
commit6a686f84c4b7120e9744beb1ed482d1f67cc7c89
treec85f6f4cd07c34a633475a4667f418bf402d21a9
parentd30acc4356a38176532eb24cff6f71dff50a7b0e
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