Re: [nft PATCH v3 2/4] mnl: Support simple wildcards in netdev hooks

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

 



On Wed, Jul 16, 2025 at 02:52:05PM +0200, Florian Westphal wrote:
> Phil Sutter <phil@xxxxxx> wrote:
> > +static void mnl_attr_put_ifname(struct nlmsghdr *nlh,
> > +				int attr, const char *ifname)
> > +{
> > +	int len = strlen(ifname) + 1;
> 
> Nit: size_t len

Ah, and 'uint16_t attr' as well. I'd fix both before pushing the series,
if that's fine and no v4 is needed.

Thanks, Phil




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux