]> granicus.if.org Git - libnl/commit
route/vlan: fix cloning vlan link in vlan_clone()
authorThomas Haller <thaller@redhat.com>
Mon, 23 Oct 2017 09:35:32 +0000 (11:35 +0200)
committerThomas Haller <thaller@redhat.com>
Mon, 23 Oct 2017 10:09:16 +0000 (12:09 +0200)
commitf9d68741065182f4c75a17426246f12a4aeb3c56
treea5c5c7fb63a1a8c022c508f48fd8103f6e8294e1
parent6dfb40acd9b0b421b587f26840dfc072211976c2
route/vlan: fix cloning vlan link in vlan_clone()

We need to copy the entire source struct over
from source to destination.

The only thing that needs special handling is
to deep-clone the vi_egress_qos buffer.

Fixes: a7469ce758fac3631df6ce72eb3f89150070e7f8
lib/route/link/vlan.c