[NET]: Fix kfifo_alloc() error check.
The return value of kfifo_alloc() should be checked by IS_ERR(). Signed-off-by:Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Please register or sign in to comment
Due to an influx of spam, we had to disable account registrations. If you don't have an account yet, please write an email to support@manjaro.org, with your desired username. Sorry for the inconvenience.
The return value of kfifo_alloc() should be checked by IS_ERR(). Signed-off-by:Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>