summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-01 16:28:43 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-02 12:09:23 -0400
commite8521e53cca584ddf8ec4584d3c550a6c65f88c4 (patch)
tree8b76303b16a4d25a9dce0dbe9109dec37e3a4809 /net/ipv4/tcp_htcp.c
parent8b6b82ad163b54a23f0e89710fb25461d45109c4 (diff)
downloadlinux-e8521e53cca584ddf8ec4584d3c550a6c65f88c4.tar.bz2
net: dsa: rtl8366: Check VLAN ID and not ports
There has been some confusion between the port number and the VLAN ID in this driver. What we need to check for validity is the VLAN ID, nothing else. The current confusion came from assigning a few default VLANs for default routing and we need to rewrite that properly. Instead of checking if the port number is a valid VLAN ID, check the actual VLAN IDs passed in to the callback one by one as expected. Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
0 files changed, 0 insertions, 0 deletions