]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipmr: ipmr_get_table() returns NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jul 2017 07:56:47 +0000 (10:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jul 2017 15:18:46 +0000 (08:18 -0700)
commit2e3d232e139a7128e2494a840a8a00fb9ab65f45
treef815ff7f1c0555bb425ebe02c72a153910606b5c
parent88f0f09b3ab7d817b897cedbd7a05a565ff4f75a
net: ipmr: ipmr_get_table() returns NULL

The ipmr_get_table() function doesn't return error pointers it returns
NULL on error.

Fixes: 4f75ba6982bc ("net: ipmr: Add ipmr_rtm_getroute")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c