Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aef6de51 authored by Simon Horman's avatar Simon Horman Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 311503bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);