Skip to content

Commit aef6de5

Browse files
hormsdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 311503b commit aef6de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sctp/input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info)
589589
struct sctp_association *asoc = NULL;
590590
struct sctp_transport *transport;
591591
struct inet_sock *inet;
592-
__be16 saveip, savesctp;
592+
__u16 saveip, savesctp;
593593
int err;
594594
struct net *net = dev_net(skb->dev);
595595

0 commit comments

Comments
 (0)