diff options
author | Vincent Duvert <[email protected]> | 2024-05-05 11:54:57 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-05-08 12:17:19 +0100 |
commit | 2e82a58d6c0797092eabe7ba66a532c11548047f (patch) | |
tree | 76f84fd26554bb82d869eecd9941c2a5e5005874 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 86b29d830ad69eecff25b22dc96c14c6573718e6 (diff) |
appletalk: Improve handling of broadcast packets
When a broadcast AppleTalk packet is received, prefer queuing it on the
socket whose address matches the address of the interface that received
the packet (and is listening on the correct port). Userspace
applications that handle such packets will usually send a response on
the same socket that received the packet; this fix allows the response
to be sent on the correct interface.
If a socket matching the interface's address is not found, an arbitrary
socket listening on the correct port will be used, if any. This matches
the implementation's previous behavior.
Fixes atalkd's responses to network information requests when multiple
network interfaces are configured to use AppleTalk.
Link: https://lore.kernel.org/netdev/[email protected]/
Link: https://gist.github.com/VinDuv/4db433b6dce39d51a5b7847ee749b2a4
Signed-off-by: Vincent Duvert <[email protected]>
Signed-off-by: Doug Brown <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions