mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
[NETFILTER] bug: nfulnl_msg_config_mode ->copy_range is 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
7ac00a24f3
commit
d1208b999d
@ -878,7 +878,7 @@ nfulnl_recv_config(struct sock *ctnl, struct sk_buff *skb,
|
||||
params = NFA_DATA(nfula[NFULA_CFG_MODE-1]);
|
||||
|
||||
nfulnl_set_mode(inst, params->copy_mode,
|
||||
ntohs(params->copy_range));
|
||||
ntohl(params->copy_range));
|
||||
}
|
||||
|
||||
if (nfula[NFULA_CFG_TIMEOUT-1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user