diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-05-22 18:18:11 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-23 16:42:06 +0200 |
commit | d02bb6ca0550b7e878da02d7bac67f7f8106ee91 (patch) | |
tree | 6b24111666d1ababb0c768c84d1965b5038d2250 /contrib | |
parent | 45b8632dcc0edcc60e17a2d068b433eaf82fdf82 (diff) | |
download | passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar.gz passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar.bz2 passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar.lz passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar.xz passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.tar.zst passt-d02bb6ca0550b7e878da02d7bac67f7f8106ee91.zip |
tap: Move all-ones initialisation of mac_guest to tap_sock_init()
It has nothing to do with tap_sock_unix_init(). It used to be there as
that function could be called multiple times per passt instance, but
it's not the case anymore.
This also takes care of the fact that, with --fd, we wouldn't set the
initial MAC address, so we would need to wait for the guest to send us
an ARP packet before we could exchange data.
Fixes: 6b4e68383c66 ("passt, tap: Add --fd option")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions