]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Drop WARN() in tag_brcm.c
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 24 Jan 2017 03:19:07 +0000 (19:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 20:00:22 +0000 (15:00 -0500)
commit8fe26f9ed0e0f329ba9e81149098753b5c8bc623
tree3cf782f50d1e233cc83e19af360718d0a9777d0c
parent914d187def0c86fc2279477fccd718e3b5f1680d
net: dsa: Drop WARN() in tag_brcm.c

We may be able to see invalid Broadcom tags when the hardware and drivers are
misconfigured, or just while exercising the error path. Instead of flooding
the console with messages, flat out drop the packet.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_brcm.c