[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200609.143211.547390495331150908.davem@davemloft.net>
Date: Tue, 09 Jun 2020 14:32:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tannerlove.kernel@...il.com
Cc: netdev@...r.kernel.org, tannerlove@...gle.com, willemb@...gle.com
Subject: Re: [PATCH net] selftests/net: in rxtimestamp getopt_long needs
terminating null entry
From: Tanner Love <tannerlove.kernel@...il.com>
Date: Tue, 9 Jun 2020 17:21:32 -0400
> From: tannerlove <tannerlove@...gle.com>
>
> getopt_long requires the last element to be filled with zeros.
> Otherwise, passing an unrecognized option can cause a segfault.
>
> Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps")
> Signed-off-by: Tanner Love <tannerlove@...gle.com>
> Acked-by: Willem de Bruijn <willemb@...gle.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists