[libvirt PATCH] util: virnetdevtap: stats: fix txdrop on FreeBSD

Roman Bogorodskiy bogorodskiy at gmail.com
Wed Sep 2 06:40:33 UTC 2020


  Ján Tomko wrote:

> For older FreeBSD, we needed an ifdef guard to use
> if_data.ifi_oqdrops, which was introduced by:
> 
> commit 61bbdbb94ce3e2f5e969c9bddb443427db07bf61
>     Implement interface stats for BSD
> 
> But when we dropped the check because we deprecated
> building on FreeBSD-10 in:
> 
> commit 83131d9714db7ee77ab220186b6b0d8b6c22b09e
>     configure: drop check for unsupported FreeBSD
> 
> We started building the wrong side of the ifdef.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> Fixes: 83131d9714db7ee77ab220186b6b0d8b6c22b09e

Reviewed-by: Roman Bogorodskiy <bogorodskiy at gmail.com>

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200902/a48b997c/attachment-0001.sig>


More information about the libvir-list mailing list