* Useless debug warning "netlink: 16 bytes leftover after parsing attributes" @ 2016-10-18 5:06 Marcel Holtmann 2016-10-19 15:50 ` Nicolas Dichtel 0 siblings, 1 reply; 2+ messages in thread From: Marcel Holtmann @ 2016-10-18 5:06 UTC (permalink / raw) To: Network Development; +Cc: Michal Schmidt Hi, so lately I am seeing a bunch of these warnings: netlink: 16 bytes leftover after parsing attributes.. While they give you the process name, they are still useless to track down the message that causes them. I find them even more useless since an updated userspace on an older kernel can trigger the nla_policy warning here. And that updated userspace program is doing nothing wrong by including extra attributes. So what purpose is this warning serving? Regards Marcel ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Useless debug warning "netlink: 16 bytes leftover after parsing attributes" 2016-10-18 5:06 Useless debug warning "netlink: 16 bytes leftover after parsing attributes" Marcel Holtmann @ 2016-10-19 15:50 ` Nicolas Dichtel 0 siblings, 0 replies; 2+ messages in thread From: Nicolas Dichtel @ 2016-10-19 15:50 UTC (permalink / raw) To: Marcel Holtmann, Network Development; +Cc: Michal Schmidt Le 18/10/2016 à 07:06, Marcel Holtmann a écrit : > Hi, > > so lately I am seeing a bunch of these warnings: > > netlink: 16 bytes leftover after parsing attributes.. > > While they give you the process name, they are still useless to track down the message that causes them. I find them even more useless since an updated userspace on an older kernel can trigger the nla_policy warning here. And that updated userspace program is doing nothing wrong by including extra attributes. So what purpose is this warning serving? Usually, it means that a netlink message is malformed, for example that the header of the family has the wrong size. An unknown attribute should not trigger this kind of message. Here is an example: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e5eca6d41f53d Regards, Nicolas ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-19 15:50 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-10-18 5:06 Useless debug warning "netlink: 16 bytes leftover after parsing attributes" Marcel Holtmann 2016-10-19 15:50 ` Nicolas Dichtel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox