]> 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)
commit2ffc03a4686e0426cb010875c65c3ee0fe0e7fdf
treedcf29aa0043498e2e6ef231c38873345a21a7eff
parent96d612e1f0110cac094d74cd9efebf060e1597a5
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