Re: [B.A.T.M.A.N.] [PATCHv3 2/2] batman-adv: remove interfacing enslaving loop private check

Marek Lindner
2013-02-27T10:21:18Z

On Wednesday, February 27, 2013 18:09:48 Marek Lindner wrote:
> On Saturday, February 16, 2013 21:42:40 Antonio Quartulli wrote:
> > Now that the new dev_upper API is used, the private check for enslaving
> > loops is not needed anymore as this is performed by the new API itself.
>
> Are you sure ? Isn't the following supposed to fail:
>
> $ batctl if add eth0
> $ vconfig add bat0 5
> $ batctl if add bat0.5
>
> $ batctl if
> eth0: active
> bat0.5: active

Without your patch this is what happens:

$ batctl if add eth0
$ vconfig add bat0 5
$ batctl if add bat0.5
Error - interface type not supported by batman-adv: bat0.5

Cheers,
Marek