]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When moving ifnets from one vnet to another, and the ifnet
authorzec <zec@FreeBSD.org>
Mon, 24 Aug 2009 10:14:09 +0000 (10:14 +0000)
committerzec <zec@FreeBSD.org>
Mon, 24 Aug 2009 10:14:09 +0000 (10:14 +0000)
commit47445e571bb87efe6c9621022f2d327bdf40b28d
tree21b0e5b3c733b468b9bfe998b6bcd241f88be03e
parent19bb42c4683c0b8129df0c1807d6980d4535679d
When moving ifnets from one vnet to another, and the ifnet
has ifaddresses of AF_LINK type which thus have an embedded
if_index "backpointer", we must update that if_index backpointer
to reflect the new if_index that our ifnet just got assigned.

This change affects only options VIMAGE builds.

Submitted by: bz
Reviewed by: bz
Approved by: re (rwatson), julian (mentor)
sys/net/if.c