ipq40xx: less ess_edma ipv6 log output for kernel 4.14 (#2700)

This commit is contained in:
eeczw 2020-01-06 15:04:00 +08:00 committed by coolsnowwolf
parent c32998a4a1
commit aeceaafac7

View File

@ -1523,7 +1523,7 @@ Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
+ int res;
+
+ if (skb->protocol == htons(ETH_P_IPV6)) {
+ dev_err(&adapter->pdev->dev, "IPv6 not supported\n");
+
+ res = -EINVAL;
+ goto no_protocol_err;
+ }