IPoIB: Check multicast address format
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Sun, 6 Sep 2009 03:23:40 +0000 (20:23 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:23:40 +0000 (20:23 -0700)
Check that the format of multicast link addresses is correct before
taking them from dev->mc_list to priv->multicast_list.  This way we
never try to send a bogus address to the SA, which prevents badness
from erronous 'ip maddr addr add', broken bonding drivers, etc.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found