diff options
author | Florian Zumbiehl <florz@gmx.de> | 2007-03-03 00:16:56 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-03 07:37:35 +0300 |
commit | 90719dbeafdb40a15105ff0c899485b43c2a2a55 (patch) | |
tree | d16cf7c3589013b16bfde03d9d64a36a19b97b11 /net | |
parent | 248f06726e866942b3d8ca8f411f9067713b7ff8 (diff) | |
download | linux-90719dbeafdb40a15105ff0c899485b43c2a2a55.tar.xz |
[PPPOE]: Key connections properly on local device.
It is based on the assumption that an interface's ifindex is basically
an alias for a local MAC address, so incoming packets now are matched
to sockets based on remote MAC, session id, and ifindex of the
interface the packet came in on/the socket was bound to by connect().
For relayed packets, the socket that's used for relaying is selected
based on destination MAC, session ID and the interface index of the
interface whose name currently matches the name requested by userspace
as the relaying source interface.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions