projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95026cd
)
[NETFILTER] bug: NFULA_CFG_QTHRESH uses 32bit
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 3 Nov 2006 08:58:17 +0000
(
00:58
-0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 5 Nov 2006 22:11:27 +0000
(14:11 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nfnetlink_log.c
b/net/netfilter/nfnetlink_log.c
index b59d3b2bde21815ad8c20f8fe758c226eff566f4..fca946c049d9851534314fa9326c9c5103a7241c 100644
(file)
--- a/
net/netfilter/nfnetlink_log.c
+++ b/
net/netfilter/nfnetlink_log.c
@@
-896,8
+896,8
@@
nfulnl_recv_config(struct sock *ctnl, struct sk_buff *skb,
}
if (nfula[NFULA_CFG_QTHRESH-1]) {
- u_int32_t qthresh =
- *(
u_int16_t
*)NFA_DATA(nfula[NFULA_CFG_QTHRESH-1]);
+ __be32 qthresh =
+ *(
__be32
*)NFA_DATA(nfula[NFULA_CFG_QTHRESH-1]);
nfulnl_set_qthresh(inst, ntohl(qthresh));
}