commit | 1113ebbcf9e43c80fe5ef05c48b4cd1c25b306b2 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Sat Nov 21 15:57:24 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 23 15:06:37 2015 -0500 |
tree | 1480a9304cdc5fd6825cce5dd2a9275e74520ee7 | |
parent | 930d3142b87a5c08b4dd00a97d503b6d412a9fda [diff] |
net: ipmr: move the tbl id check in ipmr_new_table Move the table id check in ipmr_new_table and make it return error pointer. We need this change for the upcoming netlink table manipulation support in order to avoid code duplication and a race condition. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>