ipq40xx: less ess_edma ipv6 log output

This commit is contained in:
LEAN-ESX 2020-03-05 06:18:29 -08:00
parent 64aa041cb3
commit 46009b51d9
2 changed files with 2 additions and 2 deletions

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, "\n");
+
+ res = -EINVAL;
+ goto no_protocol_err;
+ }

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, "\n");
+
+ res = -EINVAL;
+ goto no_protocol_err;
+ }