diff options
author | stephen hemminger <stephen@networkplumber.org> | 2015-12-17 20:51:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-18 16:08:35 -0500 |
commit | b70183db83552cf63cac51406aaf76a2cf5fca73 (patch) | |
tree | 9ad3efb53a6b50337821424ee5c0959f68a63783 /drivers/net/usb/asix_common.c | |
parent | 07f6f4a31e5a8dee67960fc07bb0b37c5f879d4d (diff) |
asix: silence log message from oversize packet
Since it is possible for an external system to send oversize packets
at anytime, it is best for driver not to print a message and spam
the log (potential external DoS).
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=109471
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/asix_common.c')
-rw-r--r-- | drivers/net/usb/asix_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/asix_common.c b/drivers/net/usb/asix_common.c index bd9acff1eb7b..0c5c22b84da8 100644 --- a/drivers/net/usb/asix_common.c +++ b/drivers/net/usb/asix_common.c | |||
@@ -118,7 +118,7 @@ int asix_rx_fixup_internal(struct usbnet *dev, struct sk_buff *skb, | |||
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | if (size > dev->net->mtu + ETH_HLEN + VLAN_HLEN) { | 120 | if (size > dev->net->mtu + ETH_HLEN + VLAN_HLEN) { |
121 | netdev_err(dev->net, "asix_rx_fixup() Bad RX Length %d\n", | 121 | netdev_dbg(dev->net, "asix_rx_fixup() Bad RX Length %d\n", |
122 | size); | 122 | size); |
123 | return 0; | 123 | return 0; |
124 | } | 124 | } |