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

Commit 2c928e0e 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
158874ca
("sctp: Correct access to skb->{network, transport}_header").
The values in question are host byte order.

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