diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-11-15 15:22:06 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-19 21:10:14 +0100 |
commit | bf9492747df006a794f281d6c26ee38989b44d23 (patch) | |
tree | d9e5eaf311612093bece6913ba62d9e956323aec /tcp_vu.c | |
parent | 5e2446667729d01ef8208d0e7e866cee09c8a3fb (diff) | |
download | passt-bf9492747df006a794f281d6c26ee38989b44d23.tar passt-bf9492747df006a794f281d6c26ee38989b44d23.tar.gz passt-bf9492747df006a794f281d6c26ee38989b44d23.tar.bz2 passt-bf9492747df006a794f281d6c26ee38989b44d23.tar.lz passt-bf9492747df006a794f281d6c26ee38989b44d23.tar.xz passt-bf9492747df006a794f281d6c26ee38989b44d23.tar.zst passt-bf9492747df006a794f281d6c26ee38989b44d23.zip |
ndp: Don't send unsolicited router advertisement if we can't, yet
ndp_timer() is called right away on the first epoll_wait() cycle,
when the communication channel to the guest isn't ready yet:
1.0038: NDP: sending unsolicited RA, next in 264s
1.0038: tap: failed to send 1 frames of 1
check that it's up before sending it. This effectively delays the
first gratuitous router advertisement, which is probably a good idea
given that we expect the guest to send a router solicitation right
away.
Fixes: 6e1e44293ef9 ("ndp: Send unsolicited Router Advertisements")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tcp_vu.c')
0 files changed, 0 insertions, 0 deletions