]> Pileus Git - ~andy/linux/commit
ipvs: fix sctp chunk length order
authorJulian Anastasov <ja@ssi.bg>
Sat, 9 Mar 2013 21:25:06 +0000 (23:25 +0200)
committerSimon Horman <horms@verge.net.au>
Tue, 19 Mar 2013 00:37:27 +0000 (09:37 +0900)
commitcf2e39429c245245db889fffdfbdf3f889a6cb22
tree34e0d72568893bafa61722e786716c3094b39288
parenta82783c91d5dce680dbd290ebf301a520b0e72a5
ipvs: fix sctp chunk length order

Fix wrong but non-fatal access to chunk length.
sch->length should be in network order, next chunk should
be aligned to 4 bytes. Problem noticed in sparse output.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_proto_sctp.c