[Bridge] [patch v2] bridge: make buffer larger in br_setlink()

David Miller davem at davemloft.net
Fri Dec 7 19:40:54 UTC 2012


From: Dan Carpenter <dan.carpenter at oracle.com>
Date: Fri, 7 Dec 2012 14:10:46 +0300

> We pass IFLA_BRPORT_MAX to nla_parse_nested() so we need
> IFLA_BRPORT_MAX + 1 elements.  Also Smatch complains that we read past
> the end of the array when in br_set_port_flag() when it's called with
> IFLA_BRPORT_FAST_LEAVE.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Applied.


More information about the Bridge mailing list