aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2008-06-17 03:19:58 -0700
committerDavid S. Miller <[email protected]>2008-06-17 03:19:58 -0700
commit48c5732f4ac0621a2fdde006d55a6621a47a728f (patch)
treeb43f467850edc019cc8537bbc2495c8740b4c251 /tools/perf/scripts/python
parentc751e4f8b32a3869bb4fec12100952abd9baa0e1 (diff)
netrom: Kill spurious NULL'ing of sk->sk_socket.
In nr_release(), one code path calls sock_orphan() which will NULL out sk->sk_socket already. In the other case, handling states other than NR_STATE_{0,1,2,3}, seems to not be possible other than due to bugs. Even for an uninitialized nr->state value, that would be zero or NR_STATE_0. It might be wise to stick a WARN_ON() here. Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions