diff options
author | 2015-07-17 10:19:23 +0200 | |
---|---|---|
committer | 2015-07-21 00:02:44 -0700 | |
commit | b8a23e8d8e31abeda2f6cfa36a772414b2a86ffc (patch) | |
tree | ef089a2324ced0fd03bff823419458d6aa2a2ee4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355 (diff) | |
download | wireguard-linux-b8a23e8d8e31abeda2f6cfa36a772414b2a86ffc.tar.xz wireguard-linux-b8a23e8d8e31abeda2f6cfa36a772414b2a86ffc.zip |
caif: fix leaks and race in caif_queue_rcv_skb()
1) If sk_filter() is applied, skb was leaked (not freed)
2) Testing SOCK_DEAD twice is racy :
packet could be freed while already queued.
3) Remove obsolete comment about caching skb->len
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions