forked from luck/tmp_suning_uos_patched
[NETFILTER] bug: NFULA_CFG_QTHRESH uses 32bit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
95026cd242
commit
7ac00a24f3
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user