]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9 patch fix
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Nov 2018 13:10:15 +0000 (14:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Nov 2018 13:10:15 +0000 (14:10 +0100)
queue-4.9/rtnetlink-disallow-fdb-configuration-for-non-ethernet-device.patch

index 58c7c39c378a1cc4fba47760424bdc6fa100c94c..37ef7df8888d4bc6ec2bcd5237bbeb45b56a9138 100644 (file)
@@ -103,7 +103,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        }
  
 +      if (dev->type != ARPHRD_ETHER) {
-+              NL_SET_ERR_MSG(extack, "FDB add only supported for Ethernet devices");
++              pr_info("PF_BRIDGE: FDB add only supported for Ethernet devices");
 +              return -EINVAL;
 +      }
 +
@@ -115,7 +115,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        }
  
 +      if (dev->type != ARPHRD_ETHER) {
-+              NL_SET_ERR_MSG(extack, "FDB delete only supported for Ethernet devices");
++              pr_info("PF_BRIDGE: FDB delete only supported for Ethernet devices");
 +              return -EINVAL;
 +      }
 +