From: Eric Dumazet <hidden> Date: 2017-01-20 15:58:41
From: Eric Dumazet <edumazet@google.com>
seg6_genl_get_tunsrc() and set_tun_src() do not handle tun_src being
possibly NULL, so we must check kmemdup() return value and abort if
it is NULL
Fixes: 915d7e5e5930 ("ipv6: sr: add code base for control plane support of SR-IPv6")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Lebrun <redacted>
---
net/ipv6/seg6.c | 2 ++
1 file changed, 2 insertions(+)
From: David Lebrun <hidden> Date: 2017-01-20 16:05:45
On 01/20/2017 04:57 PM, Eric Dumazet wrote:
quoted hunk
From: Eric Dumazet <edumazet@google.com>
seg6_genl_get_tunsrc() and set_tun_src() do not handle tun_src being
possibly NULL, so we must check kmemdup() return value and abort if
it is NULL
Fixes: 915d7e5e5930 ("ipv6: sr: add code base for control plane support of SR-IPv6")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Lebrun <redacted>
---
net/ipv6/seg6.c | 2 ++
1 file changed, 2 insertions(+)
From: David Miller <davem@davemloft.net> Date: 2017-01-20 16:09:50
From: Eric Dumazet <redacted>
Date: Fri, 20 Jan 2017 07:57:42 -0800
From: Eric Dumazet <edumazet@google.com>
seg6_genl_get_tunsrc() and set_tun_src() do not handle tun_src being
possibly NULL, so we must check kmemdup() return value and abort if
it is NULL
Fixes: 915d7e5e5930 ("ipv6: sr: add code base for control plane support of SR-IPv6")
Signed-off-by: Eric Dumazet <edumazet@google.com>