Hi,

I have found with netlink we can miss a ack message when exchanging large 
buffers.
I came across this "bug ?" when doing some tests on the NFC subsytem by trying 
to
send extended APDU to a secure element (up to 65K) or when sending specific 
device
firmware data (up to 8K) (NFC_ATTR_SE_APDU & NFC_ATTR_VENDOR_DATA).

After some search on the web, i found this topic was already threated by Jiri 
Benc in November 2013: 
- http://patchwork.ozlabs.org/patch/290976/
- http://www.spinics.net/lists/netdev/msg256938.html

I haven't found any update or any fix in recent kernel.

I liked the netlink message cap approach.

Do you have any update ?
Do you think a netlink message cap in netlink_ack in case of an error is an 
acceptable approach ?

Best Regards
Christophe

Christophe Ricard (1):
  netlink: netlink_ack send a capped message in case of error

 net/netlink/af_netlink.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to