diff options
author | Florian Zumbiehl <florz@gmx.de> | 2007-03-02 13:16:56 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-02 20:37:35 -0800 |
commit | 90719dbeafdb40a15105ff0c899485b43c2a2a55 (patch) | |
tree | d16cf7c3589013b16bfde03d9d64a36a19b97b11 /net/ipv4 | |
parent | 248f06726e866942b3d8ca8f411f9067713b7ff8 (diff) |
[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/ipv4')
0 files changed, 0 insertions, 0 deletions