diff options
| author | Ignat Korchagin <[email protected]> | 2024-10-14 16:38:07 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-10-15 18:43:08 -0700 |
| commit | 48156296a08c615a6baae514096c4b2e543d1157 (patch) | |
| tree | cc5fc50da0fc291d550d05e000c9028cf4a2dd6c /tools/perf/scripts/python/bin | |
| parent | 9df99c395d0f55fb444ef39f4d6f194ca437d884 (diff) | |
net: warn, if pf->create does not clear sock->sk on error
All pf->create implementations have been fixed now to clear sock->sk on
error, when they deallocate the allocated sk object.
Put a warning in place to make sure we don't break this promise in the
future.
Suggested-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Ignat Korchagin <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions