From: Simon Horman Date: Thu, 30 May 2013 20:36:11 +0000 (+0000) Subject: sctp: Correct byte order of access to skb->{network, transport}_header X-Git-Tag: v3.11-rc1~16^2~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aef6de511a2aea78098e0d507ad7280d38b6b019;p=profile%2Fivi%2Fkernel-x86-ivi.git sctp: Correct byte order of access to skb->{network, transport}_header Corrects an byte order conflict introduced by "sctp: Correct access to skb->{network, transport}_header". All the values in question are host byte order. Reported-by: Ben Hutchings Signed-off-by: Simon Horman Signed-off-by: David S. Miller --- diff --git a/net/sctp/input.c b/net/sctp/input.c index e328fe8..6533d81 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -589,7 +589,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info) struct sctp_association *asoc = NULL; struct sctp_transport *transport; struct inet_sock *inet; - __be16 saveip, savesctp; + __u16 saveip, savesctp; int err; struct net *net = dev_net(skb->dev);