commit | be064defabeff1b9e7ab96d8b4245c12a86775a5 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sat Oct 05 20:04:33 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 06 15:44:46 2019 +0200 |
tree | f9cf59bec05a57f06d1923db243dc6cb74c7b202 | |
parent | 248d45f1e1934f7849fbdc35ef1e57151cf063eb [diff] |
net: genetlink: push doit/dumpit code from genl_family_rcv_msg Currently the function genl_family_rcv_msg() is quite big. Since it is quite convenient, push code that is related to doit and dumpit ops into separate functions. Do small changes on the way, like rc/err unification, NULL check etc. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>