aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2016-12-22 23:19:16 +0000
committerDavid S. Miller <[email protected]>2016-12-23 17:19:18 +0000
commit39b2dd765e0711e1efd1d1df089473a8dd93ad48 (patch)
treee95a7c908c2bb7140aa16cbbbf4fb74af41085ed /scripts/gcc-plugins/cyc_complexity_plugin.c
parentMerge branch 'cls_flower-act_tunnel_key-fixes' (diff)
downloadkernel-39b2dd765e0711e1efd1d1df089473a8dd93ad48.tar.gz
kernel-39b2dd765e0711e1efd1d1df089473a8dd93ad48.zip
inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
Socket cmsg IP(V6)_RECVORIGDSTADDR checks that port range lies within the packet. For sockets that have transport headers pulled, transport offset can be negative. Use signed comparison to avoid overflow. Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing") Reported-by: Nisar Jagabar <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions