On 2/28/18 10:20 AM, Stephen Suryaputra wrote: > When ip_error() is called the device is the l3mdev master instead of the > original device. So the forwarding check should be on the original one. > > Changes from v2: > - Handle the original device disappearing (per David Ahern) > - Minimize the change in code order > > Changes from v1: > - Only need to reset the device on which __in_dev_get_rcu() is done (per > David Ahern). > > Signed-off-by: Stephen Suryaputra <ssuryae...@gmail.com> > --- > net/ipv4/route.c | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >
Acked-by: David Ahern <dsah...@gmail.com>