From: Thomas Graf <tgraf@xxxxxxx> 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/
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc