aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2020-09-02 00:09:34 +0200
committerDavid S. Miller <[email protected]>2020-09-02 14:13:35 -0700
commit6641a2c42b0a307b7638d10e5d4b90debc61389d (patch)
tree4c1460cff0a78e2bf71f19df4f54fecb12214cb8 /include/linux/fpga/fpga-mgr.h
parentc6f4c2b027c471838f44de03ef8c4100e4986852 (diff)
net: dsa: rtl8366: Check validity of passed VLANs
The rtl8366_set_vlan() and rtl8366_set_pvid() get invalid VLANs tossed at it, especially VLAN0, something the hardware and driver cannot handle. Check validity and bail out like we do in the other callbacks. Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions