[PATCH 3/3] bridge: Add support for VLANs

Thomas Haller thaller at redhat.com
Thu Dec 3 09:27:21 PST 2015


On Thu, 2015-12-03 at 17:55 +0100, Tobias Jungel wrote:
> On Mi, 2015-12-02 at 19:30 +0100, Thomas Haller wrote:
> > On Wed, 2015-12-02 at 09:24 -0800, David Ahern wrote:
> > > 

Hi Tobias,



> otherwise parsing will fail in case you get a AF_UNSPEC msg.
> 
> The second seems way better, unless there is a chance that other AF
> will interfere with AF_BRIGE parsing.
> 
> To test this just run nl-monitor.

Thanks for catching this. The problem is that af_ops can be reset
to the ops for IFLA_INFO_KIND.

I solved it differently, by remembering the correct af_ops:
https://github.com/thom311/libnl/commit/bridge-vlan


OK?


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20151203/e677b957/attachment.sig>


More information about the libnl mailing list