diff options
author | Parav Pandit <[email protected]> | 2018-01-28 11:25:32 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-01-28 14:07:16 -0700 |
commit | 3cd96fddccb8f0cb18899e169314276e3f9f2c44 (patch) | |
tree | daf00795b7ced85c88a198edd3fce388fe80f309 /net/unix/sysctl_net_unix.c | |
parent | 708ea056b30de17e38f2842c8e953df04b3e8b31 (diff) |
RDMA/cma: Use existing netif_is_bond_master function
When checking whatever the current netdev is the bond master interface,
use kernel API netif_is_bond_master() instead of hardcoding the check.
No functionality is changed.
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions