On Thu, Feb 4, 2021 at 12:51 PM Vadim Fedorenko <vfedore...@novek.ru> wrote: > > PACKET_TX_TIMESTAMP is defined in if_packet.h but it is not included in > test. Include it instead of <netpacket/packet.h> otherwise the error of > redefinition arrives. > Also fix the compiler warning about ambiguous control flow by adding > explicit braces. > > Fixes: 8fe2f761cae9 ("net-timestamp: expand documentation") > Suggested-by: Willem de Bruijn <willemdebruijn.ker...@gmail.com> > Signed-off-by: Vadim Fedorenko <vfedore...@novek.ru>
Acked-by: Willem de Bruijn <will...@google.com> Thanks for fixing this, Vadim.