]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: Add extack message to nlmsg_parse for invalid header length
authorDavid Ahern <dsahern@gmail.com>
Mon, 8 Oct 2018 03:16:23 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:39:03 +0000 (10:39 -0700)
commit9ac7d956f0fb7029509b159c20482bd6ed91f7e8
tree308b38a3ba0246680b43600d771c0a276d2e8049
parentcfabc8e12b367a8557e75a358fbf9782147fcdac
netlink: Add extack message to nlmsg_parse for invalid header length

Give a user a reason why EINVAL is returned in nlmsg_parse.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h