diff options
author | Cong Wang <[email protected]> | 2019-06-27 14:30:58 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-01 19:00:52 -0700 |
commit | c8c8218ec5af5d2598381883acbefbf604e56b5e (patch) | |
tree | 95b451690c50a0b20610a957cec9d64551a38c3a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 2e60546368165c2449564d71f6005dda9205b5fb (diff) |
netrom: fix a memory leak in nr_rx_frame()
When the skb is associated with a new sock, just assigning
it to skb->sk is not sufficient, we have to set its destructor
to free the sock properly too.
Reported-by: [email protected]
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions