]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Since PFIL can change destination address, use its always actual value
authorae <ae@FreeBSD.org>
Thu, 19 May 2016 12:45:20 +0000 (12:45 +0000)
committerae <ae@FreeBSD.org>
Thu, 19 May 2016 12:45:20 +0000 (12:45 +0000)
commit0412106b46a9cffa2790ddc17339d96c0dc607c9
tree4028b5ed0c472950826ce1fe9c675943d280e65c
parent1195e3c41749431eac87a3424c0f23a9f93920a4
Since PFIL can change destination address, use its always actual value
from mbuf when calculating path mtu. Remove now unused finaldst variable.
Also constify dst argument in ip6_getpmtu() and ip6_getpmtu_ctl().

Reviewed by: melifaro
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
sys/netinet6/ip6_output.c