diff options
| author | Petr Machata <[email protected]> | 2023-06-09 17:32:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-06-12 08:49:30 +0000 |
| commit | 0255f74845c0035d918697b7abff1fcf45ed2789 (patch) | |
| tree | 486ad1562639a257dc73c6949aef4a4c1beb2c20 /net/unix/af_unix.c | |
| parent | mlxsw: spectrum_router: Reuse work neighbor initialization in work scheduler (diff) | |
| download | kernel-0255f74845c0035d918697b7abff1fcf45ed2789.tar.gz kernel-0255f74845c0035d918697b7abff1fcf45ed2789.zip | |
mlxsw: Convert RIF-has-netdevice queries to a dedicated helper
In a number of places, a netdevice underlying a RIF is obtained only to
check if it a NULL pointer. In order to clean up the interface between the
router and the other modules, add a new helper to specifically answer this
question, and convert the relevant uses to this new interface.
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
