]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
actually fix queue-3.4/netlink-rate-limit-leftover-bytes-warning-and-print-process...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 05:07:14 +0000 (22:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 05:07:14 +0000 (22:07 -0700)
queue-3.4/netlink-rate-limit-leftover-bytes-warning-and-print-process-name.patch

index 6f5c8aa3f2c7d3c4c31f6f4614ce04d88312b428..d4cdebc7f309de0bace4e9155a4e66e26f1d8c72 100644 (file)
@@ -22,12 +22,20 @@ Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 ---
- lib/nlattr.c |    ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ lib/nlattr.c |    5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
 
 --- a/lib/nlattr.c
 +++ b/lib/nlattr.c
-@@ -197,8 +197,8 @@ int nla_parse(struct nlattr **tb, int ma
+@@ -13,6 +13,7 @@
+ #include <linux/skbuff.h>
+ #include <linux/string.h>
+ #include <linux/types.h>
++#include <linux/ratelimit.h>
+ #include <net/netlink.h>
+ static const u16 nla_attr_minlen[NLA_TYPE_MAX+1] = {
+@@ -197,8 +198,8 @@ int nla_parse(struct nlattr **tb, int ma
        }
  
        if (unlikely(rem > 0))