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:
335802d
)
ipv6: fix incorrect type in declaration
author
Florent Fourcot
<
[email protected]
>
Thu, 12 Dec 2013 16:07:58 +0000
(17:07 +0100)
committer
David S. Miller
<
[email protected]
>
Thu, 12 Dec 2013 21:14:09 +0000
(16:14 -0500)
Introduced by
1397ed35f22d7c30d0b89ba74b6b7829220dfcfd
"ipv6: add flowinfo for tcp6 pkt_options for all cases"
Reported-by: kbuild test robot <
[email protected]
>
V2: fix the title, add empty line after the declaration (Sergei Shtylyov
feedbacks)
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv6/ipv6_sockglue.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ipv6_sockglue.c
b/net/ipv6/ipv6_sockglue.c
index 7d93915068565c2a56149a8de363956253e6411b..759fbf96515b70f3018fddf9e19773af3301bbe4 100644
(file)
--- a/
net/ipv6/ipv6_sockglue.c
+++ b/
net/ipv6/ipv6_sockglue.c
@@
-1035,7
+1035,8
@@
static int do_ipv6_getsockopt(struct sock *sk, int level, int optname,
put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim);
}
if (np->rxopt.bits.rxflow) {
- int flowinfo = np->rcv_flowinfo;
+ __be32 flowinfo = np->rcv_flowinfo;
+
put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo);
}
}