net: ipmr: ipmr_get_table() returns NULL
authorDan Carpenter <[email protected]>
Wed, 12 Jul 2017 07:56:47 +0000 (10:56 +0300)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/ipmr.c