aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2021-08-05 10:02:43 +0000
committerPablo Neira Ayuso <[email protected]>2021-08-10 15:32:00 +0000
commit8702997074363c294a1f83928cd0c33ca57bf813 (patch)
treea9ab6f64f553c96006f625275248988f4cd617d4 /drivers/fpga/fpga-mgr.c
parentnetfilter: x_tables: never register tables by default (diff)
downloadkernel-8702997074363c294a1f83928cd0c33ca57bf813.tar.gz
kernel-8702997074363c294a1f83928cd0c33ca57bf813.zip
netfilter: nf_queue: move hookfn registration out of struct net
This was done to detect when the pernet->init() function was not called yet, by checking if net->nf.queue_handler is NULL. Once the nfnetlink_queue module is active, all struct net pointers contain the same address. So place this back in nf_queue.c. Handle the 'netns error unwind' test by checking nfnl_queue_net for a NULL pointer and add a comment for this. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions