On Thu, 15 Sep 2022 22:36:35 +0200 Gerhard Engleder wrote: > + if (!rule) { > + mutex_unlock(&adapter->rxnfc_lock); > + > + return -EINVAL; nit: maybe -ENOENT in cases when rule was not found?
On Thu, 15 Sep 2022 22:36:35 +0200 Gerhard Engleder wrote: > + if (!rule) { > + mutex_unlock(&adapter->rxnfc_lock); > + > + return -EINVAL; nit: maybe -ENOENT in cases when rule was not found?