[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100528.034251.242153540.davem@davemloft.net>
Date: Fri, 28 May 2010 03:42:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: scofeldm@...co.com
Cc: chrisw@...hat.com, netdev@...r.kernel.org, kaber@...sh.net,
arnd@...db.de
Subject: Re: [net-2.6 PATCH 1/2] netlink: bug fix: don't overrun skbs on
vf_port dump
From: Scott Feldman <scofeldm@...co.com>
Date: Fri, 28 May 2010 00:15:46 -0700
> From: Scott Feldman <scofeldm@...co.com>
>
> Noticed by Patrick McHardy: was continuing to fill skb after a
> nla_put_failure, ignoring the size calculated by upper layer. Now,
> return -EMSGSIZE on any overruns, but also allow netdev to
> fail ndo_get_vf_port with error other than -EMSGSIZE, thus unwinding
> nest.
>
> Signed-off-by: Scott Feldman <scofeldm@...co.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists