Am 17.11.2016 um 18:00 schrieb Enrico Hoepfner:
> Hi Jan,
> 
> thank you for the Answer and the description!
> I've never made this procedure.
> 
> I've try this steps, but where should I send the email to?
> the output looks like this:
> 
To the list.


> 
> owserver hangs some minutes when sequence number run over 0xFFFF
> 
> $ git format-patch master --stdout 
>

> c14b0e446e686b4ab158bad2d6b4ac111df14c8f..79382f3e10c6566ae2e189fb708dade77e077fd2
>  From 79382f3e10c6566ae2e189fb708dade77e077fd2 Mon Sep 17 00:00:00 2001
> From: Enrico Hoepfner <enrico.hoepf...@gmx.de>
> Date: Thu, 17 Nov 2016 17:39:29 +0100
> Subject: [PATCH] fix sequence number bug in w1 host adaptor code
> 

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


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to