Re: [PATCH net] bridge: mdb: zero out the local br_ip variable before use

2015-07-08 Thread David Miller
From: Nikolay Aleksandrov Date: Tue, 7 Jul 2015 15:55:56 +0200 > Since commit b0e9a30dd669 ("bridge: Add vlan id to multicast groups") > there's a check in br_ip_equal() for a matching vlan id, but the mdb > functions were not modified to use (or at least zero it) so when an > entry was added it

[PATCH net] bridge: mdb: zero out the local br_ip variable before use

2015-07-07 Thread Nikolay Aleksandrov
Since commit b0e9a30dd669 ("bridge: Add vlan id to multicast groups") there's a check in br_ip_equal() for a matching vlan id, but the mdb functions were not modified to use (or at least zero it) so when an entry was added it would have a garbage vlan id (from the local br_ip variable in __br_mdb_a