summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_netlink.c
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2016-02-16 21:43:16 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-19 15:33:46 -0500
commita97eb33ff225f34a8124774b3373fd244f0e83ce (patch)
tree0ddad3647e038b6fc41840e9a471d95defc54231 /net/l2tp/l2tp_netlink.c
parentcfdd28beb3205dbd1e91571516807199c8ab84ca (diff)
downloadlinux-sh-a97eb33ff225f34a8124774b3373fd244f0e83ce.tar.gz
rtnl: RTM_GETNETCONF: fix wrong return value
An error response from a RTM_GETNETCONF request can return the positive error value EINVAL in the struct nlmsgerr that can mislead userspace. Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
0 files changed, 0 insertions, 0 deletions