bridge: fix mdb info leaks

The bridging code discloses heap and stack bytes via the RTM_GETMDB
netlink interface and via the notify messages send to group RTNLGRP_MDB
afer a successful add/del.

Fix both cases by initializing all unset members/padding bytes with

Cc: Stephen Hemminger <>
Signed-off-by: Mathias Krause <>
Signed-off-by: David S. Miller <>
1 file changed