aboutsummaryrefslogtreecommitdiff
path: root/lib/nmi_backtrace.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2023-12-19 09:18:30 +0900
committerDavid S. Miller <[email protected]>2023-12-22 22:15:35 +0000
commit8002d44fe84dd7b98812aadcbc1bd897e270355c (patch)
tree90af38c04d00d50b9d47edf7a3dcfc9cbf9b0c9b /lib/nmi_backtrace.c
parentb82ba728ccfecb4cee518199597598ef385b47d5 (diff)
tcp: Check hlist_empty(&tb->bhash2) instead of hlist_empty(&tb->owners).
We use hlist_empty(&tb->owners) to check if the bhash bucket has a socket. We can check the child bhash2 buckets instead. For this to work, the bhash2 bucket must be freed before the bhash bucket. Signed-off-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions