sch_teql.c (c5b875e354a54e2b5ba24eecae69bf94e025edd5) | sch_teql.c (1e90474c377e92db7262a8968a45c1dd980ca9e5) |
---|---|
1/* net/sched/sch_teql.c "True" (or "trivial") link equalizer. 2 * 3 * This program is free software; you can redistribute it and/or 4 * modify it under the terms of the GNU General Public License 5 * as published by the Free Software Foundation; either version 6 * 2 of the License, or (at your option) any later version. 7 * 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> --- 154 unchanged lines hidden (view full) --- 163 teql_neigh_release(xchg(&dat->ncache, NULL)); 164 break; 165 } 166 167 } while ((prev = q) != master->slaves); 168 } 169} 170 | 1/* net/sched/sch_teql.c "True" (or "trivial") link equalizer. 2 * 3 * This program is free software; you can redistribute it and/or 4 * modify it under the terms of the GNU General Public License 5 * as published by the Free Software Foundation; either version 6 * 2 of the License, or (at your option) any later version. 7 * 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> --- 154 unchanged lines hidden (view full) --- 163 teql_neigh_release(xchg(&dat->ncache, NULL)); 164 break; 165 } 166 167 } while ((prev = q) != master->slaves); 168 } 169} 170 |
171static int teql_qdisc_init(struct Qdisc *sch, struct rtattr *opt) | 171static int teql_qdisc_init(struct Qdisc *sch, struct nlattr *opt) |
172{ 173 struct net_device *dev = sch->dev; 174 struct teql_master *m = (struct teql_master*)sch->ops; 175 struct teql_sched_data *q = qdisc_priv(sch); 176 177 if (dev->hard_header_len > m->dev->hard_header_len) 178 return -EINVAL; 179 --- 323 unchanged lines hidden --- | 172{ 173 struct net_device *dev = sch->dev; 174 struct teql_master *m = (struct teql_master*)sch->ops; 175 struct teql_sched_data *q = qdisc_priv(sch); 176 177 if (dev->hard_header_len > m->dev->hard_header_len) 178 return -EINVAL; 179 --- 323 unchanged lines hidden --- |