diff options
author | David Ahern <dsahern@gmail.com> | 2019-07-17 15:08:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-17 15:25:54 -0700 |
commit | 49d05fe2c9d1b4a27761c9807fec39b8155bef9e (patch) | |
tree | cf85fc699ba3cdbe45dce550a67cacd26af60baf /fs/ioctl.c | |
parent | 866e5fd8a7123444d865340ff21c1673f74cdecd (diff) | |
download | linux-49d05fe2c9d1b4a27761c9807fec39b8155bef9e.tar.bz2 |
ipv6: rt6_check should return NULL if 'from' is NULL
Paul reported that l2tp sessions were broken after the commit referenced
in the Fixes tag. Prior to this commit rt6_check returned NULL if the
rt6_info 'from' was NULL - ie., the dst_entry was disconnected from a FIB
entry. Restore that behavior.
Fixes: 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes")
Reported-by: Paul Donohue <linux-kernel@PaulSD.com>
Tested-by: Paul Donohue <linux-kernel@PaulSD.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions