ipmr.c (8e1fa36b3f5347eabd02385883fb5757aed56687) ipmr.c (a54acb3a6f853e8394c4cb7b6a4d93c88f13eefd)
1/*
2 * IP multicast routing support for mrouted 3.6/3.8
3 *
4 * (c) 1995 Alan Cox, <alan@lxorguk.ukuu.org.uk>
5 * Linux Consultancy and Custom Driver Development
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 787 unchanged lines hidden (view full) ---

796 v->flags |= VIFF_STATIC;
797 v->threshold = vifc->vifc_threshold;
798 v->bytes_in = 0;
799 v->bytes_out = 0;
800 v->pkt_in = 0;
801 v->pkt_out = 0;
802 v->link = dev->ifindex;
803 if (v->flags & (VIFF_TUNNEL | VIFF_REGISTER))
1/*
2 * IP multicast routing support for mrouted 3.6/3.8
3 *
4 * (c) 1995 Alan Cox, <alan@lxorguk.ukuu.org.uk>
5 * Linux Consultancy and Custom Driver Development
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 787 unchanged lines hidden (view full) ---

796 v->flags |= VIFF_STATIC;
797 v->threshold = vifc->vifc_threshold;
798 v->bytes_in = 0;
799 v->bytes_out = 0;
800 v->pkt_in = 0;
801 v->pkt_out = 0;
802 v->link = dev->ifindex;
803 if (v->flags & (VIFF_TUNNEL | VIFF_REGISTER))
804 v->link = dev->iflink;
804 v->link = dev_get_iflink(dev);
805
806 /* And finish update writing critical data */
807 write_lock_bh(&mrt_lock);
808 v->dev = dev;
809#ifdef CONFIG_IP_PIMSM
810 if (v->flags & VIFF_REGISTER)
811 mrt->mroute_reg_vif_num = vifi;
812#endif

--- 1969 unchanged lines hidden ---
805
806 /* And finish update writing critical data */
807 write_lock_bh(&mrt_lock);
808 v->dev = dev;
809#ifdef CONFIG_IP_PIMSM
810 if (v->flags & VIFF_REGISTER)
811 mrt->mroute_reg_vif_num = vifi;
812#endif

--- 1969 unchanged lines hidden ---