]> git.pld-linux.org Git - packages/kernel.git/blob - atm-05-multicast-lec.patch
- obsolete
[packages/kernel.git] / atm-05-multicast-lec.patch
1 the ip layer uses the presence of the .set_multicast_list to determine
2 if the underlying network device supports multicast.
3
4 Index: linux/net/atm/lec.c
5 ===================================================================
6 RCS file: /home/chas/CVSROOT/linux/net/atm/lec.c,v
7 retrieving revision 1.7
8 diff -u -d -b -w -r1.7 lec.c
9 --- linux/net/atm/lec.c 24 Feb 2003 13:34:43 -0000      1.7
10 +++ linux/net/atm/lec.c 25 Feb 2003 11:49:42 -0000
11 @@ -617,6 +617,14 @@
12          return 0;
13  }
14  
15 +static void lec_set_multicast_list(struct net_device *dev)
16 +{
17 +       /* by default, all multicast frames arrive over the bus.
18 +         * eventually support selective multicast service
19 +         */
20 +        return;
21 +}
22 +
23  static void 
24  lec_init(struct net_device *dev)
25  {
26 @@ -626,7 +634,7 @@
27          dev->hard_start_xmit = lec_send_packet;
28  
29          dev->get_stats = lec_get_stats;
30 -        dev->set_multicast_list = NULL;
31 +        dev->set_multicast_list = lec_set_multicast_list;
32          dev->do_ioctl  = NULL;
33          printk("%s: Initialized!\n",dev->name);
34          return;
35 -
36 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
37 the body of a message to majordomo@vger.kernel.org
38 More majordomo info at  http://vger.kernel.org/majordomo-info.html
39 Please read the FAQ at  http://www.tux.org/lkml/
This page took 0.028348 seconds and 3 git commands to generate.