commit | 61ee6bd487b9cc160e533034eb338f2085dc7922 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Mar 26 02:12:11 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 26 02:12:11 2008 -0700 |
tree | 33502a9da58f26f3b948f18288c0669b898db030 | |
parent | 8c7230f781749cd7261b504c0bfa188bb96e77ee [diff] |
[NET]: Fix multicast device ioctl checks 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>