[LARTC] Adding dsmark qdisc fails

Tero Saarni terosaarni at hotmail.com
Sun Mar 20 18:00:40 CET 2005


>From: Thomas Graf <tgraf at suug.ch>
>My patch is right but discovered a quite more serious bug in the
>generic routing attribute handling. nlmsg_len is not aligned to
>RTA_ALIGNTO if the data length of the attribute did not have
>this alignment itself. The fact that the addition of the next attribute
>fixed this bug automatically by issueing NLMSG_ALIGN(nlmsg_len) + len
>put a good shadow around it and made it only a problem when the last
>attribute added was not properly aligned. Patch attached, alternatively
>one can clone bk://kernel.bkbits.net/tgraf/iproute2-tgr and als get
>the new fancy multipath bits installed. ;->

Thanks!
That fixed it.

--
Tero

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the LARTC mailing list