WSL2-Linux-Kernel/net/l2tp
Wei Yongjun 7f8436a126 l2tp: fix return value check
In case of error, the function genlmsg_put() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-27 13:18:19 -04:00
..
Kconfig l2tp: Add debugfs files for dumping l2tp debug info 2010-04-03 14:56:07 -07:00
Makefile l2tp: introduce L2TPv3 IP encapsulation support for IPv6 2012-05-01 09:30:55 -04:00
l2tp_core.c l2tp: fix a lockdep splat 2012-09-04 14:07:50 -04:00
l2tp_core.h l2tp: avoid to use synchronize_rcu in tunnel free function 2012-08-30 12:31:03 -04:00
l2tp_debugfs.c net: l2tp: Standardize logging styles 2012-05-17 04:34:38 -04:00
l2tp_eth.c l2tp: fix a typo in l2tp_eth_dev_recv() 2012-09-04 15:54:55 -04:00
l2tp_ip.c l2tp: fix a race in l2tp_ip_sendmsg() 2012-06-08 14:30:51 -07:00
l2tp_ip6.c l2tp: fix info leak via getsockname() 2012-08-15 21:36:31 -07:00
l2tp_netlink.c l2tp: fix return value check 2012-09-27 13:18:19 -04:00
l2tp_ppp.c net: Remove casts to same type 2012-06-04 11:45:11 -04:00