Re: [PATCH v4] netlink: add NETLINK_CAP_ACK socket option

2015-08-28 Thread David Miller
From: Christophe Ricard Date: Fri, 28 Aug 2015 07:07:48 +0200 > 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 t

[PATCH v4] netlink: add NETLINK_CAP_ACK socket option

2015-08-27 Thread Christophe Ricard
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