Re: [patch net-next v3 17/17] rocker: add ndo_bridge_setlnk/getlink support for learning policy
From: Jiri Pirko <jiri@resnulli.us>
Date: 2014-11-26 11:42:52
From: Jiri Pirko <jiri@resnulli.us>
Date: 2014-11-26 11:42:52
Wed, Nov 26, 2014 at 12:30:24PM CET, tgraf@suug.ch wrote:
On 11/26/14 at 12:27pm, Jiri Pirko wrote:quoted
Wed, Nov 26, 2014 at 12:07:09PM CET, tgraf@suug.ch wrote:quoted
The Netlink message is completely unverified at this point. All rtnl_bridge_setlink() does is verify that msgsize >= ifinfomsg. All of the drivers but br_setlink() need fixing in this regard.I believe that we should fix this for all drivers in a follow-up patch.I'm working on this. Will send fixes later today.
Feel free to fix rocker as well. I'll take your patch into my queue.