From: "Tero Saarni" Date: Sun, 20 Mar 2005 17:00:40 +0000 Subject: Re: [LARTC] Adding dsmark qdisc fails Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org >From: Thomas Graf >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@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc