Hi Jan, sorry for that - in my sent-folder looks the message ok.
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 18.11.2016 00:24, Jan Kandziora wrote: > Am 17.11.2016 um 21:15 schrieb Enrico Hoepfner: >> 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 ; >> > Still borken. *sob* > > Anyway, I will fix and apply it. > > 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