]> git.hungrycats.org Git - linux/commit
[LLC]: when the user doesn't specifies a local address to connect, do an autobind
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Wed, 29 Oct 2003 04:21:25 +0000 (20:21 -0800)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Wed, 29 Oct 2003 04:21:25 +0000 (20:21 -0800)
commitcd520ebae90dcff31599686187ea18542a60ff98
tree546cabe52c2d73877f3a703e73c09686a4846148
parentfbe0d04d5c63435b5a0c198e28055cbb24f05490
[LLC]: when the user doesn't specifies a local address to connect, do an autobind

Other protocols do this as soon as they discover over what interface the
packet will be routed, but LLC isn't routable, so, to provide similar
semantics to the other protocols, I'm just binding it to the first interface
of the type specified, perhaps we'll need a tunable for this or some sort of
routing table done manually by the admin, later we'll see, for now this
allows an application like openssh, with patched getaddrinfo/getnameinfo to
use PF_LLC sockets with a very small patch.
net/llc/af_llc.c