From: David Ahern <dsah...@gmail.com>
Date: Tue, 10 Oct 2017 09:41:02 -0700

> +     /* validator notifier needs to be blocking;
> +      * do not call in softirq context
> +      */
> +     if (!in_softirq()) {

I think we can test this better.

You should be able to audit the call sites and for each one set the
value of a new boolean argument properly, and this way you can also
give the boolean argument a descriptive name.

Furthermore, we can also then pull the inet6_addr allocation out of
the locking paths and thus use GFP_KERNEL when possible.

Reply via email to