aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiri Benc <[email protected]>2016-02-16 21:59:02 +0100
committerDavid S. Miller <[email protected]>2016-02-17 23:52:12 -0500
commit288b01c8c46eda01cd3921c6e3aca6293e57cee8 (patch)
treebccef0ef9096aa53ae264e37bd329b24dcd5b381 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf14ecebb3a4e83eb6233e0167aa4ba675c99e514 (diff)
vxlan: clean up rx error path
When there are unrecognized flags present in the vxlan header, it doesn't make much sense to return the packet for further UDP processing, especially considering that for other invalid flag combinations we drop the packet because of previous checks. This means we return positive value only at the beginning of the function where tun_dst is not yet allocated. This allows us to get rid of the bad_flags and error jump labels. When we're dropping packet, we need to free tun_dst now. Signed-off-by: Jiri Benc <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions