commit | 44ebe79149ff415e810529bf192faa5c38d4a0de | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwan@google.com> | Sat Jun 17 10:42:44 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 17 22:54:01 2017 -0400 |
tree | 84d1cd1b7a6b3990749e2423a6a2a38a2478acd7 | |
parent | 1eb04e7c9e63e0480cc52b84187283de4fe5f982 [diff] |
net: add debug atomic_inc_not_zero() in dst_hold() This patch is meant to add a debug warning on the situation where dst is being held during its destroy phase. This could potentially cause double free issue on the dst. Signed-off-by: Wei Wang <weiwan@google.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>