]> asedeno.scripts.mit.edu Git - linux.git/commit
pptp: support sockets bound to an interface
authorUlrich Weber <ulrich.weber@gmail.com>
Tue, 14 Jan 2020 14:19:43 +0000 (15:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 22:13:09 +0000 (23:13 +0100)
commit43d28c612f4c02a3fdea3d906170faece8ada9e1
tree8e55f0018c1b6623a5951731fc5d5e5e057f986f
parent8fec380ac0d4e57aaf0d475482b840a1f3e3e0f3
pptp: support sockets bound to an interface

use sk_bound_dev_if for route lookup as already done
in most of the other ip_route_output_ports() calls.

Since most PPPoA providers use 10.0.0.138 as default gateway IP
this will allow connections to multiple PPTP providers with the
same IP address over different interfaces.

Signed-off-by: Ulrich Weber <ulrich.weber@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/pptp.c