[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1440738468-2374-1-git-send-email-christophe-h.ricard@st.com>
Date: Fri, 28 Aug 2015 07:07:47 +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: [PATCH v4] 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. Compared to v3 i have removed Cc: stable@...r.kernel.org.
Could you queue it up for -stable ?
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.
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