aboutgitcodebugslistschat
path: root/.gitpublish
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-10-19 11:43:54 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-10-19 03:34:51 +0200
commitcb1edae3b5cac6df68116ebce8e4194d4153d688 (patch)
treed65ea4504f0b0304e345cc2b649374b21c200a01 /.gitpublish
parent9d8dd8b6f4a99beb73a1460100e4a2a410ac673a (diff)
downloadpasst-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar.gz
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar.bz2
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar.lz
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar.xz
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.tar.zst
passt-cb1edae3b5cac6df68116ebce8e4194d4153d688.zip
ndp: Remove unneeded eh_source parameter
ndp() takes a parameter giving the ethernet source address of the packet it is to respond to, which it uses to determine the destination address to send the reply packet to. This is not necessary, because the address will always be the guest's MAC address. Even if the guest has just changed MAC address, then either tap_handler_passt() or tap_handler_pasta() - which are the only call paths leading to ndp() will have updated c->mac_guest with the new value. So, remove the parameter, and just use c->mac_guest, making it more consistent with other paths where we construct packets to send inwards. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to '.gitpublish')
0 files changed, 0 insertions, 0 deletions