[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1440703891-9332-1-git-send-email-christophe-h.ricard@st.com>
Date: Thu, 27 Aug 2015 21:31:30 +0200
From: Christophe Ricard <christophe.ricard@...il.com>
To: pablo@...filter.org, jbenc@...hat.com, sfeldma@...il.com,
sameo@...ux.intel.com, davem@...emloft.net
Cc: netdev@...r.kernel.org, christophe-h.ricard@...com,
christophe.ricard@...il.com
Subject: [RFC v3] netlink_ack: send a capped message in case of error
Hi,
After Jiri Benc feedback on my seconds proposal, please find a reworked patch still based on
Pablo Neira Ayuso proposal.
On this patch, I found the sender's socket was saved in netlink_unicast_kernel in NETLINK_CB(skb).sk.
This information now prevent me to look up the socket for every ack.
Also i believe it could be good to make it reach stable as it is somehow a bug fix.
Do you have any other comment ?
Best Regards
Christophe
Christophe Ricard (1):
netlink: add NETLINK_CAP_ACK socket option
include/uapi/linux/netlink.h | 1 +
net/netlink/af_netlink.c | 27 ++++++++++++++++++++++++---
2 files changed, 25 insertions(+), 3 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists