[PATCH v2 1/1] route/addr: only sent IFA_FLAGS when needed to workaround picky older kernels

Thomas Haller thaller at redhat.com
Fri Apr 4 07:37:52 PDT 2014


On Fri, 2014-04-04 at 15:27 +0100, Thomas Graf wrote:
> On 04/04/14 at 03:58pm, Thomas Haller wrote:
> > Older kernels don't accept receiving unknown netlink attributes.
> > See net/core/rtnetlink.c, rtnetlink_rcv_msg(). This was fixed by kernel
> > commit 661d2967b3f1b34eeaa7e212e7b9bbe8ee072b59.
> > 
> > As a workaround, only set the additional attributes, when the user
> > provided flags that makes this necessary and useful.
> > 
> > https://github.com/thom311/libnl/issues/56
> > https://bugzilla.redhat.com/show_bug.cgi?id=1063885
> > 
> > Based-on-patch-by: Pavel Kankovsky <peak at argo.troja.mff.cuni.cz>
> > Signed-off-by: Thomas Haller <thaller at redhat.com>
> 
> LGTM
> 
> Acked-by: Thomas Graf <tgraf at suug.ch>

Thanks,

pushed to master as:
https://github.com/thom311/libnl/commit/5206c050504f8676a24854519b9c351470fb7cc6


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


More information about the libnl mailing list