diff options
author | 2017-01-20 07:57:42 -0800 | |
---|---|---|
committer | 2017-01-20 11:07:48 -0500 | |
commit | e363116b90906f326c9cde5473b4b9a99ba476df (patch) | |
tree | 28e02e536cd1fe1982cae0dfd25c9b6604713c0c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | r8152: fix rtl8152_post_reset function (diff) | |
download | linux-dev-e363116b90906f326c9cde5473b4b9a99ba476df.tar.xz linux-dev-e363116b90906f326c9cde5473b4b9a99ba476df.zip |
ipv6: seg6_genl_set_tunsrc() must check kmemdup() return value
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 <david.lebrun@uclouvain.be>
Acked-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions