mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
net: ppp: resolve forwarding path for bridge pppoe devices
Pass on the PPPoE session ID, destination hardware address and the real device. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
bcf2766b13
commit
f6efc675c9
@@ -28,6 +28,9 @@ struct ppp_channel_ops {
|
||||
int (*start_xmit)(struct ppp_channel *, struct sk_buff *);
|
||||
/* Handle an ioctl call that has come in via /dev/ppp. */
|
||||
int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long);
|
||||
int (*fill_forward_path)(struct net_device_path_ctx *,
|
||||
struct net_device_path *,
|
||||
const struct ppp_channel *);
|
||||
};
|
||||
|
||||
struct ppp_channel {
|
||||
|
||||
Reference in New Issue
Block a user