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:40 +0200
committerJakub Kicinski <[email protected]>2021-10-14 19:16:21 -0700
commit30fc7efa38f21afa48b0be6bf2053e4c10ae2c78 (patch)
treeecb461991215ba2658ce6d311ebb87da4a2a78aa /drivers/net/ethernet/intel/igc/igc_ptp.c
parentc8e80c1169b2b3b91453f9ff3c34687c42233ef7 (diff)
net, neigh: Reject creating NUD_PERMANENT with NTF_MANAGED entries
The combination of NUD_PERMANENT + NTF_MANAGED is not supported and does not make sense either given the former indicates a static/fixed neighbor entry whereas the latter a dynamically resolved one. While it is possible to transition from one over to the other, we should however reject such creation attempts. Fixes: 7482e3841d52 ("net, neigh: Add NTF_MANAGED flag for managed neighbor entries") Suggested-by: David Ahern <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: David Ahern <[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