aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2023-06-09 17:32:10 +0000
committerDavid S. Miller <[email protected]>2023-06-12 08:49:30 +0000
commit151b89f6025a95dd8083d5844f2746a9450653ca (patch)
treedd911d64a716b35896e974aeda3bdf9e189baab0 /net/unix/af_unix.c
parentmlxsw: spectrum_router: Use the available router pointer for netevent handling (diff)
downloadkernel-151b89f6025a95dd8083d5844f2746a9450653ca.tar.gz
kernel-151b89f6025a95dd8083d5844f2746a9450653ca.zip
mlxsw: spectrum_router: Reuse work neighbor initialization in work scheduler
After the struct mlxsw_sp_netevent_work.n field initialization is moved here, the body of code that handles NETEVENT_NEIGH_UPDATE is almost identical to the one in the helper function. Therefore defer to the helper instead of inlining the equivalent. Note that previously, the code took and put a reference of the netdevice. The new code defers to mlxsw_sp_dev_lower_is_port() to obviate the need for taking the reference. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions