netfilter: nfnetlink_queue: fix incorrect initialization of copy range field
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 Mar 2013 06:03:18 +0000 (06:03 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 15 Mar 2013 11:35:49 +0000 (12:35 +0100)
commitbae99f7a1d372374aaf9ed8910f3b825da995b36
tree30c525049ee46070961a18c4aa0a2fe8c42b5202
parent0d98da5d845e0d0293055913ce65c9904b3b902a
netfilter: nfnetlink_queue: fix incorrect initialization of copy range field

2^16 = 0xffff, not 0xfffff (note the extra 'f'). Not dangerous since you
adjust it to min_t(data_len, skb->len) just after on.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_queue_core.c