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 "sctp: Correct access to
skb->{network, transport}_header". All the values in question are host
byte order.

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

Expand Down

0 comments on commit aef6de5

Please sign in to comment.