[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C630DC9.9030608@candelatech.com>
Date: Wed, 11 Aug 2010 13:53:29 -0700
From: Ben Greear <greearb@...delatech.com>
To: Brian Haley <brian.haley@...com>
CC: netdev@...r.kernel.org
Subject: Re: [iproute2] iproute2: Fix 'addr flush secondary' logic.
On 08/11/2010 01:41 PM, Brian Haley wrote:
> On 08/11/2010 01:19 PM, Ben Greear wrote:
>> @@ -648,7 +648,7 @@ int print_addrinfo_secondary(const struct sockaddr_nl *who, struct nlmsghdr *n,
>> {
>> struct ifaddrmsg *ifa = NLMSG_DATA(n);
>>
>> - if (ifa->ifa_flags& IFA_F_SECONDARY)
>> + if (!ifa->ifa_flags& IFA_F_SECONDARY)
>> return 0;
>
> Shouldn't this be:
>
> if (!(ifa->ifa_flags& IFA_F_SECONDARY))
Yes, that looks like a bug. Let me re-test to make sure
it wasn't hiding other bugs and will re-submit.
Thanks,
Ben
>
> -Brian
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists