Re: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY tospecify an ip address to be primary or secondary ip on an interface

From: Stephen Hemminger
Date: Tue Sep 24 2013 - 15:21:11 EST


On Tue, 24 Sep 2013 11:11:21 -0700
Vincent Li <vincent.mc.li@xxxxxxxxx> wrote:

> - ifa->ifa_flags &= ~IFA_F_SECONDARY;
> last_primary = &in_dev->ifa_list;
>
> + if((*last_primary) == NULL)


Minor nit, paren's here are unnecessary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/