cls_api.c (e9ec8045644cf730d798cd8df8a6f8a86b7fba64) cls_api.c (01683a1469995cc7aaf833d6f8b3f1c1d2fc3b92)
1/*
2 * net/sched/cls_api.c Packet classifier API.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

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

1503 arg.skb = skb;
1504 arg.cb = cb;
1505 arg.block = block;
1506 arg.q = q;
1507 arg.parent = parent;
1508 arg.w.stop = 0;
1509 arg.w.skip = cb->args[1] - 1;
1510 arg.w.count = 0;
1/*
2 * net/sched/cls_api.c Packet classifier API.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

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

1503 arg.skb = skb;
1504 arg.cb = cb;
1505 arg.block = block;
1506 arg.q = q;
1507 arg.parent = parent;
1508 arg.w.stop = 0;
1509 arg.w.skip = cb->args[1] - 1;
1510 arg.w.count = 0;
1511 arg.w.cookie = cb->args[2];
1511 tp->ops->walk(tp, &arg.w);
1512 tp->ops->walk(tp, &arg.w);
1513 cb->args[2] = arg.w.cookie;
1512 cb->args[1] = arg.w.count + 1;
1513 if (arg.w.stop)
1514 return false;
1515 }
1516 return true;
1517}
1518
1519/* called with RTNL */

--- 314 unchanged lines hidden ---
1514 cb->args[1] = arg.w.count + 1;
1515 if (arg.w.stop)
1516 return false;
1517 }
1518 return true;
1519}
1520
1521/* called with RTNL */

--- 314 unchanged lines hidden ---