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

index a46a116af41feee4f1f0e6e0f915ec0754071213..2ebf3bfa0f24415a4776e6f15a7a2548c5c34caa 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;
 +      }
 +