summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-06-13 16:04:33 +0900
committerDavid S. Miller <davem@davemloft.net>2013-06-13 01:21:50 -0700
commit2c928e0e8dd6b3661870bfacb53d1c330a1a7411 (patch)
treeff2226b4ba3aeb0bdae3c377fabb587edce7a7e7
parentca15febfe98f7c681ac345fc1d2ee1b8decaa493 (diff)
downloadop-kernel-dev-2c928e0e8dd6b3661870bfacb53d1c330a1a7411.zip
op-kernel-dev-2c928e0e8dd6b3661870bfacb53d1c330a1a7411.tar.gz
sctp: Correct byte order of access to skb->{network, transport}_header
Corrects an byte order conflict introduced by 158874cac61245b84e939c92c53db7000122b7b0 ("sctp: Correct access to skb->{network, transport}_header"). The values in question are host byte order. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/sctp/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index 8ee553b..fffc7b6 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -153,7 +153,7 @@ SCTP_STATIC void sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
struct sctp_association *asoc;
struct sctp_transport *transport;
struct ipv6_pinfo *np;
- __be16 saveip, savesctp;
+ __u16 saveip, savesctp;
int err;
struct net *net = dev_net(skb->dev);
OpenPOWER on IntegriCloud