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 <[email protected]"
>
>
> ---
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers