[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191101.151148.786719507529491521.davem@davemloft.net>
Date: Fri, 01 Nov 2019 15:11:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiwan@...gle.com
Cc: netdev@...r.kernel.org, maze@...gle.com, edumazet@...gle.com,
cgallek@...gle.com
Subject: Re: [PATCH net] selftests: net: reuseport_dualstack: fix
uninitalized parameter
From: Wei Wang <weiwan@...gle.com>
Date: Thu, 31 Oct 2019 16:24:36 -0700
> This test reports EINVAL for getsockopt(SOL_SOCKET, SO_DOMAIN)
> occasionally due to the uninitialized length parameter.
> Initialize it to fix this, and also use int for "test_family" to comply
> with the API standard.
>
> Fixes: d6a61f80b871 ("soreuseport: test mixed v4/v6 sockets")
> Reported-by: Maciej Żenczykowski <maze@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Wei Wang <weiwan@...gle.com>
> Cc: Craig Gallek <cgallek@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists