]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Add SCTP support
authorJoe Stringer <joe@wand.net.nz>
Thu, 22 Aug 2013 19:30:48 +0000 (12:30 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 26 Aug 2013 21:03:13 +0000 (14:03 -0700)
commitcefb013570cb9c8adeb5a8f43e6dae8057241c01
treedcf29aa0043498e2e6ef231c38873345a21a7eff
parent2f59d520507244531f8c58d60735e549c893a4f7
openvswitch: Add SCTP support

This patch adds support for rewriting SCTP src,dst ports similar to the
functionality already available for TCP/UDP.

Rewriting SCTP ports is expensive due to double-recalculation of the
SCTP checksums; this is performed to ensure that packets traversing OVS
with invalid checksums will continue to the destination with any
checksum corruption intact.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
include/uapi/linux/openvswitch.h
net/openvswitch/Kconfig
net/openvswitch/actions.c
net/openvswitch/datapath.c
net/openvswitch/flow.c
net/openvswitch/flow.h