aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/input.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-05-30 16:36:11 -0400
committerDavid S. Miller <davem@davemloft.net>2013-05-31 04:41:36 -0400
commitaef6de511a2aea78098e0d507ad7280d38b6b019 (patch)
treea381137b89a0699449e753abce3c55654e2ea845 /net/sctp/input.c
parent311503bb2119788ac88c406e0893351a2bb0705e (diff)
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 <bhutchings@solarflare.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r--net/sctp/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c
index e328fe8f93f4..6533d81a638d 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)
589 struct sctp_association *asoc = NULL; 589 struct sctp_association *asoc = NULL;
590 struct sctp_transport *transport; 590 struct sctp_transport *transport;
591 struct inet_sock *inet; 591 struct inet_sock *inet;
592 __be16 saveip, savesctp; 592 __u16 saveip, savesctp;
593 int err; 593 int err;
594 struct net *net = dev_net(skb->dev); 594 struct net *net = dev_net(skb->dev);
595 595