bridge: fix netlink max attr size
authorScott Feldman <sfeldma@gmail.com>
Wed, 19 Aug 2015 18:29:35 +0000 (11:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 21:36:25 +0000 (14:36 -0700)
commiteb4cb85180cd3baee4a01fd32e296fc28c2cffc1
treedaed4a453a7580c0d386a1d7bef00c7885ba168b
parent4d14a63400dd3e353acb6547831fe465f85864b1
bridge: fix netlink max attr size

.maxtype should match .policy.  Probably just been getting lucky here
because IFLA_BRPORT_MAX > IFLA_BR_MAX.

Fixes: 13323516 ("bridge: implement rtnl_link_ops->changelink")
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c