From: Roopa Prabhu <ro...@cumulusnetworks.com> Date: Tue, 22 Sep 2015 21:40:22 -0700
> From: Wilson Kok <w...@cumulusnetworks.com> > > dump_rules returns skb length and not error. > But when family == AF_UNSPEC, the caller of dump_rules > assumes that it returns an error. Hence, when family == AF_UNSPEC, > we continue trying to dump on -EMSGSIZE errors resulting in > incorrect dump idx carried between skbs belonging to the same dump. > This results in fib rule dump always only dumping rules that fit > into the first skb. > > This patch fixes dump_rules to return error so that we exit correctly > and idx is correctly maintained between skbs that are part of the > same dump. > > Signed-off-by: Wilson Kok <w...@cumulusnetworks.com> > Signed-off-by: Roopa Prabhu <ro...@cumulusnetworks.com> Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html