On 4/1/19 7:17 AM, Stephen Suryaputra wrote: > Configuration check to accept source route IP options should be made on > the incoming netdevice when the skb->dev is an l3mdev master. The route > lookup for the source route next hop also needs the incoming netdev. > > v2->v3: > - Simplify by passing the original netdevice down the stack (per David > Ahern). > > Signed-off-by: Stephen Suryaputra <ssuryae...@gmail.com> > --- > include/net/ip.h | 2 +- > net/ipv4/ip_input.c | 7 +++---- > net/ipv4/ip_options.c | 4 ++-- > 3 files changed, 6 insertions(+), 7 deletions(-) >
Reviewed-by: David Ahern <dsah...@gmail.com>