]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c669cbbc9ecc21ab03733ebd9e9cfed1f3b8b5f
tree10e74d0c390283e6d449d3c9b171c8c689b5be0c
parent10abc915882a80dc61b8bd52858337f34728fd65
IPoIB: Check multicast address format

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>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c