[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:
Родитель
95026cd242
Коммит
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));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче