[NET]: Fix multicast device ioctl checks
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 09:12:11 +0000 (02:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 09:12:11 +0000 (02:12 -0700)
SIOCADDMULTI/SIOCDELMULTI check whether the driver has a set_multicast_list
method to determine whether it supports multicast. Drivers implementing
secondary unicast support use set_rx_mode however.

Check for both dev->set_multicast_mode and dev->set_rx_mode to determine
multicast capabilities.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found