From: Sergey Popovich Date: Sat, 2 May 2015 17:28:10 +0000 (+0200) Subject: netfilter: ipset: Check IPSET_ATTR_PORT only once X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~263^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25472e4706329f595377aca38ccb664bdd14531;p=pandora-kernel.git 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 Signed-off-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed