netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC v2] netlink_ack: send a capped message in case of error
@ 2015-08-25 19:43 Christophe Ricard
  2015-08-25 19:43 ` [RFC v2] netlink: add NETLINK_CAP_ACK socket option Christophe Ricard
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Ricard @ 2015-08-25 19:43 UTC (permalink / raw)
  To: pablo, jbenc, sfeldma, sameo, davem; +Cc: netdev, Christophe Ricard

Hi,

Thanks to my first RFC proposal to cap a netlink message in case of an error, i have
rebased my work on Pablo Neira Ayuso.
After some few trials, it appears to me in_skb->sk is not the correct socket to deal with.

Here comes a reworked and tested version based on Pablo's one.

Also i believe it could be good to make it reach stable as it is somehow a bug fix.

What do you think ?

Best Regards
Christophe

Christophe Ricard (1):
  netlink: add NETLINK_CAP_ACK socket option

 include/uapi/linux/netlink.h |  1 +
 net/netlink/af_netlink.c     | 49 ++++++++++++++++++++++++++++++++------------
 2 files changed, 37 insertions(+), 13 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-26  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 19:43 [RFC v2] netlink_ack: send a capped message in case of error Christophe Ricard
2015-08-25 19:43 ` [RFC v2] netlink: add NETLINK_CAP_ACK socket option Christophe Ricard
2015-08-26  7:46   ` Jiri Benc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).