act_api.c (188de5dd80b2b7986e75821374efb67081049b6e) | act_api.c (dac9c9790e542777079999900594fd069ba10489) |
---|---|
1/* 2 * net/sched/act_api.c Packet action 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 * --- 1438 unchanged lines hidden (view full) --- 1447 struct nlattr *count_attr = NULL; 1448 unsigned long jiffy_since = 0; 1449 struct nlattr *kind = NULL; 1450 struct nla_bitfield32 bf; 1451 u32 msecs_since = 0; 1452 u32 act_count = 0; 1453 1454 ret = nlmsg_parse(cb->nlh, sizeof(struct tcamsg), tb, TCA_ROOT_MAX, | 1/* 2 * net/sched/act_api.c Packet action 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 * --- 1438 unchanged lines hidden (view full) --- 1447 struct nlattr *count_attr = NULL; 1448 unsigned long jiffy_since = 0; 1449 struct nlattr *kind = NULL; 1450 struct nla_bitfield32 bf; 1451 u32 msecs_since = 0; 1452 u32 act_count = 0; 1453 1454 ret = nlmsg_parse(cb->nlh, sizeof(struct tcamsg), tb, TCA_ROOT_MAX, |
1455 tcaa_policy, NULL); | 1455 tcaa_policy, cb->extack); |
1456 if (ret < 0) 1457 return ret; 1458 1459 kind = find_dump_kind(tb); 1460 if (kind == NULL) { 1461 pr_info("tc_dump_action: action bad kind\n"); 1462 return 0; 1463 } --- 291 unchanged lines hidden --- | 1456 if (ret < 0) 1457 return ret; 1458 1459 kind = find_dump_kind(tb); 1460 if (kind == NULL) { 1461 pr_info("tc_dump_action: action bad kind\n"); 1462 return 0; 1463 } --- 291 unchanged lines hidden --- |