rtnetlink: Return int from rtnl_af_register().
The next patch will add init_srcu_struct() in rtnl_af_register(), then we need to handle its error. Let's add the error handling in advance to make the following patch cleaner. Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by:
Matt Johnston <matt@codeconstruct.com.au> Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Loading
Please sign in to comment