WSL2-Linux-Kernel/net/dcb
Pan Bian c66ebf2db5 net: dcb: set error code on failures
In function dcbnl_cee_fill(), returns the value of variable err on
errors. However, on some error paths (e.g. nla put fails), its value may
be 0. It may be better to explicitly set a negative errno to variable
err before returning.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188881

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-03 23:54:25 -05:00
..
Kconfig DCB: fix kconfig option 2008-11-25 01:02:08 -08:00
Makefile net_dcb: add application notifiers 2010-12-31 10:47:46 -08:00
dcbevent.c net/*: Fix FSF address in file headers 2013-12-06 12:37:57 -05:00
dcbnl.c net: dcb: set error code on failures 2016-12-03 23:54:25 -05:00