[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <471746AB.5070108@trash.net>
Date: Thu, 18 Oct 2007 13:42:35 +0200
From: Patrick McHardy <kaber@...sh.net>
To: panther@...abit.hu
CC: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: [PATCH 0/2] Interface groups, round two
Laszlo Attila Toth wrote:
> Patrick McHardy írta:
>> Laszlo Attila Toth wrote:
>
>> The only reason why it can't be set to zero again seems to
>> be this part from the iproute patch:
>>
>> + if (rtnl_ifgroup_a2n(&group, *argv) || group == 0)
>>
>> Why don't you allow a value of zero?
>>
>
> It has historical reason. The original version which didn't use netlink
> (at kernel 2.6.17) used zero to indicate that group was not set. You
> wrote previously that this part is useless for new kernels. I'll fix
> this (with type of "group" variable to unsigned int32 to be consistent
> with the kernel part).
Support for ifgroups in the ioctl part is useless since that will
never be used with kernel supporting this feature. Setting it to
zero is not useless.
-
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