lkml.org 
[lkml]   [2013]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Allow userspace code to use flag IFA_F_SECONDARY to specify an ip address to be primary or secondary ip on an interface
    On Tue, 24 Sep 2013 11:11:21 -0700
    Vincent Li <vincent.mc.li@gmail.com> wrote:

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


    Minor nit, paren's here are unnecessary


    \
     
     \ /
      Last update: 2013-09-24 21:41    [W:4.265 / U:2.572 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site