summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSergey Popovich <popovich_sergei@mail.ua>2014-11-17 17:08:37 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-03-20 19:01:02 +0100
commit8403c62e3d7b6c303d6c5e5811e64721e9855af0 (patch)
treedd2aad895b49bd1f489551de2149fc0ee785a7a8 /lib
parent2ca2559e391448590532e8b87a135ae27902949f (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 <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions