igmp.c (4e0c1159d83a658d1ffba5bc3442f4ec4cadb436) | igmp.c (e5ed639913eea3e4783a550291775ab78dd84966) |
---|---|
1/* 2 * Linux NET3: Internet Group Management Protocol [IGMP] 3 * 4 * This code implements the IGMP protocol as defined in RFC1112. There has 5 * been a further revision of this protocol since which is now supported. 6 * 7 * If you have trouble with this module be careful what gcc you have used, 8 * the older version didn't come out right using gcc 2.5.8, the newer one --- 1309 unchanged lines hidden (view full) --- 1318 } 1319 1320 if (!dev && !ip_route_output_key(&rt, &fl)) { 1321 dev = rt->u.dst.dev; 1322 ip_rt_put(rt); 1323 } 1324 if (dev) { 1325 imr->imr_ifindex = dev->ifindex; | 1/* 2 * Linux NET3: Internet Group Management Protocol [IGMP] 3 * 4 * This code implements the IGMP protocol as defined in RFC1112. There has 5 * been a further revision of this protocol since which is now supported. 6 * 7 * If you have trouble with this module be careful what gcc you have used, 8 * the older version didn't come out right using gcc 2.5.8, the newer one --- 1309 unchanged lines hidden (view full) --- 1318 } 1319 1320 if (!dev && !ip_route_output_key(&rt, &fl)) { 1321 dev = rt->u.dst.dev; 1322 ip_rt_put(rt); 1323 } 1324 if (dev) { 1325 imr->imr_ifindex = dev->ifindex; |
1326 idev = __in_dev_get(dev); | 1326 idev = __in_dev_get_rtnl(dev); |
1327 } 1328 return idev; 1329} 1330 1331/* 1332 * Join a socket to a group 1333 */ 1334int sysctl_igmp_max_memberships = IP_MAX_MEMBERSHIPS; --- 1153 unchanged lines hidden --- | 1327 } 1328 return idev; 1329} 1330 1331/* 1332 * Join a socket to a group 1333 */ 1334int sysctl_igmp_max_memberships = IP_MAX_MEMBERSHIPS; --- 1153 unchanged lines hidden --- |