YueHaibing 9804501fa1 appletalk: Fix potential NULL pointer dereference in unregister_snap_client
register_snap_client may return NULL, all the callers
check it, but only print a warning. This will result in
NULL pointer dereference in unregister_snap_client and other
places.

It has always been used like this since v2.6

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-15 11:25:48 -07:00
..
2019-03-06 13:33:11 -08:00
2019-02-15 13:21:55 +08:00
2019-03-08 08:23:15 -08:00
2019-03-01 09:45:52 -05:00
2019-01-25 16:40:40 +01:00
2019-02-27 09:19:24 -05:00
2019-03-10 12:29:52 -07:00
2019-03-14 09:11:54 -07:00
2019-03-09 14:45:54 -08:00