On Tue, 25 Aug 2015 21:43:29 +0200, Christophe Ricard wrote:
> void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err)
> {
> + struct netlink_sock *nlk;
> struct sk_buff *skb;
> struct nlmsghdr *rep;
> struct nlmsgerr *errmsg;
> size_t payload = sizeof(
Since commit c05cdb1b864f ("netlink: allow large data transfers from
user-space"), the kernel may fail to allocate the necessary room for the
acknowledgment message back to userspace. This patch introduces a new
socket option that trims off the payload of the original netlink message.
The netlink