aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ptp.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2021-10-13 15:21:39 +0200
committerJakub Kicinski <[email protected]>2021-10-14 19:16:21 -0700
commitc8e80c1169b2b3b91453f9ff3c34687c42233ef7 (patch)
tree9220e491e84de99c5c68d3fe1e015bfec13429ba /drivers/net/ethernet/intel/igc/igc_ptp.c
parent507c2f1d2936e07aef83734983a36df01b458ef9 (diff)
net, neigh: Use NLA_POLICY_MASK helper for NDA_FLAGS_EXT attribute
Instead of open-coding a check for invalid bits in NTF_EXT_MASK, we can just use the NLA_POLICY_MASK() helper instead, and simplify NDA_FLAGS_EXT sanity check this way. Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions