aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-05-23 12:38:01 +0000
committerDavid S. Miller <[email protected]>2023-05-24 09:34:26 +0000
commit9277649c66fe7cb0e2f8adb09621556bcfb052c7 (patch)
tree60b58207fb829af1dc46d492864ffea60464aab5 /net/unix/af_unix.c
parentdevlink: remove no longer true locking comment from port_new/del() (diff)
downloadkernel-9277649c66fe7cb0e2f8adb09621556bcfb052c7.tar.gz
kernel-9277649c66fe7cb0e2f8adb09621556bcfb052c7.zip
devlink: pass devlink_port pointer to ops->port_del() instead of index
Historically there was a reason why port_dev() along with for example port_split() did get port_index instead of the devlink_port pointer. With the locking changes that were done which ensured devlink instance mutex is hold for every command, the port ops could get devlink_port pointer directly. Change the forgotten port_dev() op to be as others and pass devlink_port pointer instead of port_index. Signed-off-by: Jiri Pirko <[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