owfs: fix the last netlink message recognition
authorMarcin Jurkowski <marcin1j@gmail.com>
Sun, 28 Jun 2015 22:58:06 +0000 (00:58 +0200)
committerMarcin Jurkowski <marcin1j@gmail.com>
Mon, 31 Aug 2015 23:29:20 +0000 (01:29 +0200)
commit2d537bc98fc365e466b7aff0b10855051d9b0783
tree702721b05e8c0c42c3534033c17ed255aca77404
parentd6fe15a85c4690f34a73af77c6cf6f316acf75b6
owfs: fix the last netlink message recognition

This fixes the endless loop waiting for w1 subsystem connector status
message.

According to the 8a0427d kernel commit, the last (status) netlink msg
should have ack=seq, whereas all the others messages should have ack=seq+1.

This patch has been submitted upstream: https://sourceforge.net/p/owfs/bugs/66/.

For independent problem report, see this thread:
https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=98772

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
utils/owfs/patches/100-fix-netlink-w1-status-message-detection.patch [new file with mode: 0644]