diff options
| author | Jakub Kicinski <[email protected]> | 2024-01-26 20:14:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-01-29 14:40:38 +0000 |
| commit | 723de3ebef03bc14bd72531f00f9094337654009 (patch) | |
| tree | 687b08e8b5836320a66e811ef2043e509cf6828e /net/ipv4/tcp_input.c | |
| parent | dt-bindings: nfc: ti,trf7970a: fix usage example (diff) | |
| download | kernel-723de3ebef03bc14bd72531f00f9094337654009.tar.gz kernel-723de3ebef03bc14bd72531f00f9094337654009.zip | |
net: free altname using an RCU callback
We had to add another synchronize_rcu() in recent fix.
Bite the bullet and add an rcu_head to netdev_name_node,
free from RCU.
Note that name_node does not hold any reference on dev
to which it points, but there must be a synchronize_rcu()
on device removal path, so we should be fine.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
