Skip to content

Commit

Permalink
[NETFILTER] bug: nfulnl_msg_config_mode ->copy_range is 32bit
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Nov 5, 2006
1 parent 7ac00a2 commit d1208b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/nfnetlink_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit d1208b9

Please sign in to comment.