Skip to content

Commit

Permalink
sctp: Correct byte order of access to skb->{network, transport}_header
Browse files Browse the repository at this point in the history
Corrects an byte order conflict introduced by
158874c
("sctp: Correct access to skb->{network, transport}_header").
The values in question are host byte order.

Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
horms authored and davem330 committed Jun 13, 2013
1 parent ca15feb commit 2c928e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2c928e0

Please sign in to comment.