Re: [PATCH 2/2] macsec_linux: Add support for MACsec hardware offload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 15, 2023 at 08:01:15AM +0000, Emeel Hakim wrote:
> > This uses libnl3 to communicate with the macsec module available on Linux. A
> > recent enough version of libnl is needed for the hardware offload support.

> > diff --git a/src/drivers/driver_macsec_linux.c b/src/drivers/driver_macsec_linux.c
> > +		rtnl_link_macsec_set_offload(drv->link,
> > +					     drv->offload);

This breaks the build for commonly used libnl versions and as such,
needs some kind of conditional build option to avoid that. Maybe
something based on LIBNL_VER_* unless there is a more convenient option.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux