summaryrefslogtreecommitdiffstats
path: root/include/linux/udp.h
diff options
context:
space:
mode:
authorThomas Graf2015-01-06 01:04:21 +0100
committerDavid S. Miller2015-01-06 04:38:22 +0100
commit149118d89355fb0e1a898f47977f8ae9be8e14e7 (patch)
treece3d14e96bbebea22427f2d0d61ee52d840d007e /include/linux/udp.h
parentMerge branch 'cxgb4-next' (diff)
downloadkernel-qcow2-linux-149118d89355fb0e1a898f47977f8ae9be8e14e7.tar.gz
kernel-qcow2-linux-149118d89355fb0e1a898f47977f8ae9be8e14e7.tar.xz
kernel-qcow2-linux-149118d89355fb0e1a898f47977f8ae9be8e14e7.zip
netlink: Warn on unordered or illegal nla_nest_cancel() or nlmsg_cancel()
Calling nla_nest_cancel() in a different order as the nesting was built up can lead to negative offsets being calculated which results in skb_trim() being called with an underflowed unsigned int. Warn if mark < skb->data as it's definitely a bug. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/udp.h')
0 files changed, 0 insertions, 0 deletions