diff options
author | Harald Seiler <hws@denx.de> | 2020-05-14 10:37:05 +0200 |
---|---|---|
committer | Harald Seiler <hws@denx.de> | 2020-05-20 10:03:08 +0200 |
commit | ce9c2a594d64b403495f8824fe16dfc952a99531 (patch) | |
tree | dd8a73d805c15b6f52194680344775034c957c7c /lavalab-gen.sh | |
parent | 9596a7d56f8e4b6653ae1735075b3fc95b268fe9 (diff) |
Make docker bind the TFTP server to the correct interface
With UDP, docker sometimes can't route UDP packets to the correct
address because the source address gets mangled [1]. This happens
indeterministically because by default the kernel uses some heuristics
to decide which interface to use. But in some rare circumstances, those
can fail and a wrong source address is used. This can be worked around
by explicitly binding to a concrete interface instead of 0.0.0.0.
[1]: https://github.com/moby/libnetwork/issues/1729
Signed-off-by: Harald Seiler <hws@denx.de>
Diffstat (limited to 'lavalab-gen.sh')
0 files changed, 0 insertions, 0 deletions