Skip to content

Commit afc4b13

Browse files
Jiri Pirkodavem330
authored andcommitted
net: remove use of ndo_set_multicast_list in drivers
replace it by ndo_set_rx_mode Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0178934 commit afc4b13

251 files changed

Lines changed: 258 additions & 271 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎arch/ia64/hp/sim/simeth.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static const struct net_device_ops simeth_netdev_ops = {
172172
.ndo_stop = simeth_close,
173173
.ndo_start_xmit = simeth_tx,
174174
.ndo_get_stats = simeth_get_stats,
175-
.ndo_set_multicast_list = set_multicast_list, /* not yet used */
175+
.ndo_set_rx_mode = set_multicast_list, /* not yet used */
176176

177177
};
178178

‎arch/um/drivers/net_kern.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static const struct net_device_ops uml_netdev_ops = {
368368
.ndo_open = uml_net_open,
369369
.ndo_stop = uml_net_close,
370370
.ndo_start_xmit = uml_net_start_xmit,
371-
.ndo_set_multicast_list = uml_net_set_multicast_list,
371+
.ndo_set_rx_mode = uml_net_set_multicast_list,
372372
.ndo_tx_timeout = uml_net_tx_timeout,
373373
.ndo_set_mac_address = eth_mac_addr,
374374
.ndo_change_mtu = uml_net_change_mtu,

‎arch/xtensa/platforms/iss/network.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static const struct net_device_ops iss_netdev_ops = {
633633
.ndo_set_mac_address = iss_net_set_mac,
634634
//.ndo_do_ioctl = iss_net_ioctl,
635635
.ndo_tx_timeout = iss_net_tx_timeout,
636-
.ndo_set_multicast_list = iss_net_set_multicast_list,
636+
.ndo_set_rx_mode = iss_net_set_multicast_list,
637637
};
638638

639639
static int iss_net_configure(int index, char *init)

‎drivers/infiniband/hw/nes/nes_nic.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ static const struct net_device_ops nes_netdev_ops = {
16381638
.ndo_get_stats = nes_netdev_get_stats,
16391639
.ndo_tx_timeout = nes_netdev_tx_timeout,
16401640
.ndo_set_mac_address = nes_netdev_set_mac_address,
1641-
.ndo_set_multicast_list = nes_netdev_set_multicast_list,
1641+
.ndo_set_rx_mode = nes_netdev_set_multicast_list,
16421642
.ndo_change_mtu = nes_netdev_change_mtu,
16431643
.ndo_validate_addr = eth_validate_addr,
16441644
.ndo_fix_features = nes_fix_features,

‎drivers/infiniband/ulp/ipoib/ipoib_main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ static const struct net_device_ops ipoib_netdev_ops = {
996996
.ndo_fix_features = ipoib_fix_features,
997997
.ndo_start_xmit = ipoib_start_xmit,
998998
.ndo_tx_timeout = ipoib_timeout,
999-
.ndo_set_multicast_list = ipoib_set_mcast_list,
999+
.ndo_set_rx_mode = ipoib_set_mcast_list,
10001000
.ndo_neigh_setup = ipoib_neigh_setup_dev,
10011001
};
10021002

‎drivers/media/dvb/dvb-core/dvb_net.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ static const struct net_device_ops dvb_netdev_ops = {
12301230
.ndo_open = dvb_net_open,
12311231
.ndo_stop = dvb_net_stop,
12321232
.ndo_start_xmit = dvb_net_tx,
1233-
.ndo_set_multicast_list = dvb_net_set_multicast_list,
1233+
.ndo_set_rx_mode = dvb_net_set_multicast_list,
12341234
.ndo_set_mac_address = dvb_net_set_mac,
12351235
.ndo_change_mtu = eth_change_mtu,
12361236
.ndo_validate_addr = eth_validate_addr,

‎drivers/net/appletalk/cops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static const struct net_device_ops cops_netdev_ops = {
264264
.ndo_start_xmit = cops_send_packet,
265265
.ndo_tx_timeout = cops_timeout,
266266
.ndo_do_ioctl = cops_ioctl,
267-
.ndo_set_multicast_list = set_multicast_list,
267+
.ndo_set_rx_mode = set_multicast_list,
268268
};
269269

270270
/*

‎drivers/net/appletalk/ltpc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ static int __init ltpc_probe_dma(int base, int dma)
10141014
static const struct net_device_ops ltpc_netdev = {
10151015
.ndo_start_xmit = ltpc_xmit,
10161016
.ndo_do_ioctl = ltpc_ioctl,
1017-
.ndo_set_multicast_list = set_multicast_list,
1017+
.ndo_set_rx_mode = set_multicast_list,
10181018
};
10191019

10201020
struct net_device * __init ltpc_probe(void)

‎drivers/net/arcnet/com20020.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const struct net_device_ops com20020_netdev_ops = {
154154
.ndo_stop = arcnet_close,
155155
.ndo_start_xmit = arcnet_send_packet,
156156
.ndo_tx_timeout = arcnet_timeout,
157-
.ndo_set_multicast_list = com20020_set_mc_list,
157+
.ndo_set_rx_mode = com20020_set_mc_list,
158158
};
159159

160160
/* Set up the struct net_device associated with this card. Called after

‎drivers/net/bonding/bond_main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4266,7 +4266,7 @@ static const struct net_device_ops bond_netdev_ops = {
42664266
.ndo_get_stats64 = bond_get_stats,
42674267
.ndo_do_ioctl = bond_do_ioctl,
42684268
.ndo_change_rx_flags = bond_change_rx_flags,
4269-
.ndo_set_multicast_list = bond_set_multicast_list,
4269+
.ndo_set_rx_mode = bond_set_multicast_list,
42704270
.ndo_change_mtu = bond_change_mtu,
42714271
.ndo_set_mac_address = bond_set_mac_address,
42724272
.ndo_neigh_setup = bond_neigh_setup,

0 commit comments

Comments
 (0)