]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/nlattr.c
Merge branch 'next' (accumulated 3.16 merge window patches) into master
[karo-tx-linux.git] / lib / nlattr.c
index 0c5778752aec6a9855e5c150c7423add1ce844b2..9c3e85ff0a6c56e8923263f7aa75b3701d4fc5d5 100644 (file)
@@ -203,8 +203,8 @@ int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head,
        }
 
        if (unlikely(rem > 0))
-               printk(KERN_WARNING "netlink: %d bytes leftover after parsing "
-                      "attributes.\n", rem);
+               pr_warn_ratelimited("netlink: %d bytes leftover after parsing attributes in process `%s'.\n",
+                                   rem, current->comm);
 
        err = 0;
 errout: