diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-07-16 22:08:20 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-17 23:25:22 +0000 |
| commit | dc2a27e524ac13e7a599bc693934ed81f868dc2d (patch) | |
| tree | 8d78a500b04deee2b7fcf6f2b001afe742ab479f /net/switchdev/switchdev.c | |
| parent | neighbour: Protect tbl->phash_buckets[] with a dedicated mutex. (diff) | |
| download | kernel-dc2a27e524ac13e7a599bc693934ed81f868dc2d.tar.gz kernel-dc2a27e524ac13e7a599bc693934ed81f868dc2d.zip | |
neighbour: Update pneigh_entry in pneigh_create().
neigh_add() updates pneigh_entry() found or created by pneigh_create().
This update is serialised by RTNL, but we will remove it.
Let's move the update part to pneigh_create() and make it return errno
instead of a pointer of pneigh_entry.
Now, the pneigh code is RTNL free.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
