summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorTony Cheneau <tony.cheneau@amnesiak.org>2012-07-11 10:51:14 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 09:51:15 +0400
commitd4787a15432384826a0bed42d189fc2a97dc73ea (patch)
tree211b8183a67dd12d817146265485a597a4f85942 /tools/perf/scripts/python/net_dropmonitor.py
parent6e5928f6dfd92a47c489bb735c4cb8bbb62038e0 (diff)
downloadlinux-d4787a15432384826a0bed42d189fc2a97dc73ea.tar.xz
6lowpan: Fix null pointer dereference in UDP uncompression function
When a UDP packet gets fragmented, a crash will occur at reassembly time. This is because skb->transport_header is not set during earlier period of fragment reassembly. As a consequence, call to udp_hdr() return NULL and uh (which is NULL) gets dereferenced without much test. Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions