diff options
| author | Pablo Neira <[email protected]> | 2015-10-13 10:47:48 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2015-10-15 04:45:03 +0000 |
| commit | 8cbc870829ecd8f1062f2a756683c80e2d1eae7f (patch) | |
| tree | a6aef860ba8faa818349f7033e574f4b060485ee /security/selinux/hooks.c | |
| parent | netfilter: nfnetlink_log: consolidate check for instance in nfulnl_recv_config() (diff) | |
| download | kernel-8cbc870829ecd8f1062f2a756683c80e2d1eae7f.tar.gz kernel-8cbc870829ecd8f1062f2a756683c80e2d1eae7f.zip | |
netfilter: nfnetlink_log: validate dependencies to avoid breaking atomicity
Check that dependencies are fulfilled before updating the logger
instance, otherwise we can leave things in intermediate state on errors
in nfulnl_recv_config().
[ Ken-ichirou reports that this is also fixing missing instance refcnt drop
on error introduced in his patch 914eebf2f434 ("netfilter: nfnetlink_log:
autoload nf_conntrack_netlink module NFQA_CFG_F_CONNTRACK config flag"). ]
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Tested-by: Ken-ichirou MATSUZAWA <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
