summaryrefslogtreecommitdiff
path: root/net/sunrpc/timer.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-10-23 10:36:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-21 09:23:05 -0800
commit74525d5efb7c5d99f1c307ad4ffec7ecbd952acb (patch)
tree7c32ebd8e4dc4710ad858fc733b86b04921d2ae4 /net/sunrpc/timer.c
parentb1fef6b81871a396f3b8702077333e769673c87b (diff)
netfilter: nfnetlink_log: fix maximum packet length logged to userspace
commit c1e7dc91eed0ed1a51c9b814d648db18bf8fc6e9 upstream. don't try to queue payloads > 0xffff - NLA_HDRLEN, it does not work. The nla length includes the size of the nla struct, so anything larger results in u16 integer overflow. This patch is similar to 9cefbbc9c8f9abe (netfilter: nfnetlink_queue: cleanup copy_range usage). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc/timer.c')
0 files changed, 0 insertions, 0 deletions