diff options
author | Eric Dumazet <[email protected]> | 2023-01-03 19:27:36 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-04 20:38:25 -0800 |
commit | 1ac88557447088ccd15eb2f2520ce46d463c8e0b (patch) | |
tree | 41368d4ff67356ed2fe36418fb0f026185277d50 /lib/netdev-notifier-error-inject.c | |
parent | 2c02d41d71f90a5168391b6a5f2954112ba2307c (diff) |
inet: control sockets should not use current thread task_frag
Because ICMP handlers run from softirq contexts,
they must not use current thread task_frag.
Previously, all sockets allocated by inet_ctl_sock_create()
would use the per-socket page fragment, with no chance of
recursion.
Fixes: 98123866fcf3 ("Treewide: Stop corrupting socket's task_frag")
Reported-by: [email protected]
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Benjamin Coddington <[email protected]>
Acked-by: Guillaume Nault <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions