Merge Lean's source

This commit is contained in:
CN_SZTL 2020-01-06 17:50:31 +08:00
commit 75fbe7f5cc
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

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;
+ }