X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fnetfilter%2Fnf_queue.c;h=74aebed5bd28bb5c0c924cec7d908615b82ffdd6;hb=bf70030dc0b031f000c74721f2e9c88686b7da6d;hp=78b3cf9c519ca86e66b0ba4ae88c6797a7518c3f;hpb=9a90e09854a3c7cc603ab8fc9163f77bb1f66cfa;p=firefly-linux-kernel-4.4.55.git diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c index 78b3cf9c519c..74aebed5bd28 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c @@ -18,7 +18,7 @@ * long term mutex. The handler must provide an an outfn() to accept packets * for queueing and must reinject all packets it receives, no matter what. */ -static const struct nf_queue_handler *queue_handler[NFPROTO_NUMPROTO] __read_mostly; +static const struct nf_queue_handler __rcu *queue_handler[NFPROTO_NUMPROTO] __read_mostly; static DEFINE_MUTEX(queue_handler_mutex);