Re: [PATCH 0/4] w1: refcnt fix, skip non-error send, docs

zbr
2014-02-07T21:23:47Z

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?