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)
commita175a723301a8a4a9fedf9ce5b8ca586e7a97b40
treedcf29aa0043498e2e6ef231c38873345a21a7eff
parent280c571e1a0f553d4f2384f1a8b643b5de26e0ec
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