diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-11-21 15:57:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-23 15:06:37 -0500 |
commit | 1113ebbcf9e43c80fe5ef05c48b4cd1c25b306b2 (patch) | |
tree | 1480a9304cdc5fd6825cce5dd2a9275e74520ee7 /net/unix/af_unix.c | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions