diff options
author | Glauber Costa <[email protected]> | 2012-01-05 20:16:39 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-07 10:16:34 -0800 |
commit | f3f511e1ce6f1a6f0a5bb8320e9f802e76f6b999 (patch) | |
tree | bedb8b38bec1bdb3fa7159bc61822488984d3ce0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 356b95424cfb456e14a59eaa579422ce014c424b (diff) |
net: fix sock_clone reference mismatch with tcp memcontrol
Sockets can also be created through sock_clone. Because it copies
all data in the sock structure, it also copies the memcg-related pointer,
and all should be fine. However, since we now use reference counts in
socket creation, we are left with some sockets that have no reference
counts. It matters when we destroy them, since it leads to a mismatch.
Signed-off-by: Glauber Costa <[email protected]>
CC: David S. Miller <[email protected]>
CC: Greg Thelen <[email protected]>
CC: Hiroyouki Kamezawa <[email protected]>
CC: Laurent Chavey <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions