1
0
Fork 0

netfilter: nfnetlink_log: just returns error for unknown command

This patch stops processing options for unknown command.

Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
steinar/wifi_calib_4_9_kernel
Ken-ichirou MATSUZAWA 2016-01-05 09:34:34 +09:00 committed by Pablo Neira Ayuso
parent 71b2e5f5ca
commit eb075954e9
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ static int nfulnl_recv_config(struct net *net, struct sock *ctnl,
goto out_put;
default:
ret = -ENOTSUPP;
break;
goto out_put;
}
} else if (!inst) {
ret = -ENODEV;