[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 08 Aug 2014 10:34:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...hat.com
Cc: netdev@...r.kernel.org, ronye@...lanox.com
Subject: Re: [PATCH net] rtnetlink: fix VF info size
From: Jiri Benc <jbenc@...hat.com>
Date: Fri, 8 Aug 2014 16:44:32 +0200
> Commit 1d8faf48c74b8 ("net/core: Add VF link state control") added new
> attribute to IFLA_VF_INFO group in rtnl_fill_ifinfo but did not adjust size
> of the allocated memory in if_nlmsg_size/rtnl_vfinfo_size. As the result, we
> may trigger warnings in rtnl_getlink and similar functions when many VF
> links are enabled, as the information does not fit into the allocated skb.
>
> Fixes: 1d8faf48c74b8 ("net/core: Add VF link state control")
> Reported-by: Yulong Pei <ypei@...hat.com>
> Signed-off-by: Jiri Benc <jbenc@...hat.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists