netfilter: ipset: merge uadd and udel functions
authorFlorent Fourcot <florent.fourcot@wifirst.fr>
Mon, 10 Jun 2019 10:42:56 +0000 (12:42 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 10 Jun 2019 10:42:56 +0000 (12:42 +0200)
commitf0cb839084efdf99328bed393f12f2e5c258ce8d
treee8921a7b7130285f2ea1fc7b94da39c4db828cc2
parent24c509b2e2f1661ce9500fc7e32647113e62d7e3
netfilter: ipset: merge uadd and udel functions

Both functions are using exactly the same code, except the command value
passed to call_ad function.

Signed-off-by: Florent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_core.c