diff options
author | Sergey Popovich <[email protected]> | 2015-05-02 19:28:10 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2015-05-13 13:25:46 +0200 |
commit | d25472e4706329f595377aca38ccb664bdd14531 (patch) | |
tree | 69edaa01e5da4cc464a50561e1dad8fc24fa0f9b /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8e55d2e5903e4698a964163e0cf81261eee086ee (diff) |
netfilter: ipset: Check IPSET_ATTR_PORT only once
We do not need to check tb[IPSET_ATTR_PORT] != NULL before
retrieving port, as this attribute is known to exist due to
ip_set_attr_netorder() returning true only when attribute
exists and it is in network byte order.
Signed-off-by: Sergey Popovich <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions