Hi Jan, Thank you for the help and thepatience!
owserver hangs some minutes when sequence number run over 0xFFFF Signed-off: "Enrico Hoepfner <enrico.hoepf...@gmx.de" --- module/owlib/src/c/ow_w1_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/owlib/src/c/ow_w1_parse.c b/module/owlib/src/c/ow_w1_parse.c index 3fd2e8f..611d3dc 100644 --- a/module/owlib/src/c/ow_w1_parse.c +++ b/module/owlib/src/c/ow_w1_parse.c @@ -232,7 +232,7 @@ enum Netlink_Read_Status W1_Process_Response( void (* nrs_callback)( struct netl // Don't need to free since nlm not set if BAD return nrs_error ; } - if ( NL_SEQ(nlp.nlm->nlmsg_seq) != (unsigned int) seq ) { + if ( NL_SEQ(nlp.nlm->nlmsg_seq) != NL_SEQ(seq) ) { LEVEL_DEBUG("Netlink sequence number out of order"); owfree(nlp.nlm) ; continue ; -- 1.9.1 On 17.11.2016 19:37, Jan Kandziora wrote: > Am 17.11.2016 um 19:05 schrieb Enrico Hoepfner: >> owserver hangs some minutes when sequence number run over 0xFFFF >> Signed-off: "Enrico Hoepfner <enrico.hoepf...@gmx.de" >> >> >> --- >> >> module/owlib/src/c/ow_w1_parse.c | 2 +- >> >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> >> >> diff --git a/module/owlib/src/c/ow_w1_parse.c >> b/module/owlib/src/c/ow_w1_parse.c >> >> index 3fd2e8f..611d3dc 100644 >> >> --- a/module/owlib/src/c/ow_w1_parse.c >> >> +++ b/module/owlib/src/c/ow_w1_parse.c >> >> @@ -232,7 +232,7 @@ enum Netlink_Read_Status W1_Process_Response( void >> (* nrs_callback)( struct netl >> >> // Don't need to free since nlm not set if BAD >> >> return nrs_error ; >> >> } >> >> - if ( NL_SEQ(nlp.nlm->nlmsg_seq) != (unsigned int) seq ) { >> >> + if ( NL_SEQ(nlp.nlm->nlmsg_seq) != NL_SEQ(seq) ) { >> >> LEVEL_DEBUG("Netlink sequence number out of >> order"); >> >> owfree(nlp.nlm) ; >> >> continue ; >> > And you have to fix your Email client so it doesn't insert arbitrary > line breaks. E.g in Thunderbird, that's done with Ctrl+Shift+W. > > Kind regards > > Jan > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers