Messages in this thread | | | From | zbr@ioremap ... | Subject | Re: [PATCH 0/4] w1: refcnt fix, skip non-error send, docs | Date | Sat, 08 Feb 2014 01:23:43 +0400 |
| |
Hi
07.02.2014, 10:00, "David Fries" <david@fries.net>:
> Here's a patch to implement that. Is this what you have in mind? > > From 4ed65d81b0121a8c191a9833d041484e9097198b Mon Sep 17 00:00:00 2001 > From: David Fries <David@Fries.net> > Date: Thu, 6 Feb 2014 23:45:05 -0600 > Subject: [PATCH] w1: correct cn_msg ack, no change or seq + 1 > > Netlink messages sent from the kernel consists of kernel generated > notifications for adds or removes, the error message (also indicates > the message has been processed), and the messages that have data to > return. The cn_msg ack is left alone for the first two, and when > returning data it is the sequence number + 1. Modifying the code to > the protocol standard. > > Signed-off-by: David Fries <David@Fries.net>
Yes, it looks right. Can you also check that protocol documentation is correct? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |