diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-17 01:08:20 +0300 | 
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-18 02:25:22 +0300 | 
| commit | dc2a27e524ac13e7a599bc693934ed81f868dc2d (patch) | |
| tree | 8d78a500b04deee2b7fcf6f2b001afe742ab479f /net/unix/af_unix.h | |
| parent | 13a936bb99fb6385dc8620d24d7111e514448371 (diff) | |
| download | linux-dc2a27e524ac13e7a599bc693934ed81f868dc2d.tar.xz | |
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 <kuniyu@google.com>
Link: https://patch.msgid.link/20250716221221.442239-16-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.h')
0 files changed, 0 insertions, 0 deletions
