aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorJustin Chen <justinpopo6@gmail.com>2019-07-17 14:58:53 -0700
committerDavid S. Miller <davem@davemloft.net>2019-07-18 11:45:57 -0700
commit35cbef9863640f06107144687bd13151bc2e8ce3 (patch)
tree442ffe5c0037750c23a3c3956820ca09516bbf32 /net/ipv4/udp.c
parentipv6: rt6_check should return NULL if 'from' is NULL (diff)
downloadlinux-dev-35cbef9863640f06107144687bd13151bc2e8ce3.tar.xz
linux-dev-35cbef9863640f06107144687bd13151bc2e8ce3.zip
net: bcmgenet: use promisc for unsupported filters
Currently we silently ignore filters if we cannot meet the filter requirements. This will lead to the MAC dropping packets that are expected to pass. A better solution would be to set the NIC to promisc mode when the required filters cannot be met. Also correct the number of MDF filters supported. It should be 17, not 16. Signed-off-by: Justin Chen <justinpopo6@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions