[PATCH net] selftests/net: rxtimestamp: Fix an off by one

2017-10-05 Thread Dan Carpenter
The > should be >= so that we don't write one element beyond the end of the array. Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps") Signed-off-by: Dan Carpenter diff --git a/tools/testing/selftests/networking/timestamping/rxtimestamp.c b/tools/testing/sel

Re: [PATCH net] selftests/net: rxtimestamp: Fix an off by one

2017-10-05 Thread David Miller
From: Dan Carpenter Date: Thu, 5 Oct 2017 15:53:47 +0300 > The > should be >= so that we don't write one element beyond the end of > the array. > > Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx > timestamps") > Signed-off-by: Dan Carpenter Applied.