projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca15feb
)
sctp: Correct byte order of access to skb->{network, transport}_header
author
Simon Horman
<
[email protected]
>
Thu, 13 Jun 2013 07:04:33 +0000
(16:04 +0900)
committer
David S. Miller
<
[email protected]
>
Thu, 13 Jun 2013 08:21:50 +0000
(
01:21
-0700)
Corrects an byte order conflict introduced by
158874cac61245b84e939c92c53db7000122b7b0
("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]
>
net/sctp/ipv6.c
patch
|
blob
|
history
diff --git
a/net/sctp/ipv6.c
b/net/sctp/ipv6.c
index 8ee553b499ce5f8b77b1bf2c9c6d4488f87a92d1..fffc7b62a9a8ef5067085124094b84c3679589ed 100644
(file)
--- a/
net/sctp/ipv6.c
+++ b/
net/sctp/ipv6.c
@@
-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;
- __
be
16 saveip, savesctp;
+ __
u
16 saveip, savesctp;
int err;
struct net *net = dev_net(skb->dev);