commit | 8caa38b56c56ef48af48f8c70fcd7cb4580e0c24 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu Aug 10 16:53:01 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 10 09:50:22 2017 -0700 |
tree | 2bfea64354f5fc77b88e1a4b1d84db0de185f7e4 | |
parent | d38a65125f93b2fbd17cd37ccc5ec0f0b799cc55 [diff] |
rtnetlink: fallback to UNSPEC if current family has no doit callback We need to use PF_UNSPEC in case the requested family has no doit callback, otherwise this now fails with EOPNOTSUPP instead of running the unspec doit callback, as before. Fixes: 6853dd488119 ("rtnetlink: protect handler table with rcu") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>