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)
commit82272db84d874ebe8b4ae24d4e64d770882dbdd1
tree3cf782f50d1e233cc83e19af360718d0a9777d0c
parent3ebe8344eb8a4214c09424bf8094025c8bf61823
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