Date: Mon, 3 Sep 2018 22:12:49 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338448 - head/sys/netinet6 Message-ID: <201809032212.w83MCnC6022270@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Mon Sep 3 22:12:48 2018 New Revision: 338448 URL: https://svnweb.freebsd.org/changeset/base/338448 Log: As discussed in D6262 post-commit review, change inp_route to inp_route6 for IPv6 code after r301217. This was most likely a c&p error from the legacy IP code, which did not matter as it is a union and both structures have the same layout at the beginning. No functional changes. Reviewed by: karels, ae Approved by: re (rgrimes) Differential Revision: https://reviews.freebsd.org/D17005 Modified: head/sys/netinet6/in6_pcb.c Modified: head/sys/netinet6/in6_pcb.c ============================================================================== --- head/sys/netinet6/in6_pcb.c Mon Sep 3 22:10:49 2018 (r338447) +++ head/sys/netinet6/in6_pcb.c Mon Sep 3 22:12:48 2018 (r338448) @@ -853,8 +853,8 @@ in6_losing(struct inpcb *in6p) RTFREE(in6p->inp_route6.ro_rt); in6p->inp_route6.ro_rt = (struct rtentry *)NULL; } - if (in6p->inp_route.ro_lle) - LLE_FREE(in6p->inp_route.ro_lle); /* zeros ro_lle */ + if (in6p->inp_route6.ro_lle) + LLE_FREE(in6p->inp_route6.ro_lle); /* zeros ro_lle */ return; } @@ -870,8 +870,8 @@ in6_rtchange(struct inpcb *inp, int errno) RTFREE(inp->inp_route6.ro_rt); inp->inp_route6.ro_rt = (struct rtentry *)NULL; } - if (inp->inp_route.ro_lle) - LLE_FREE(inp->inp_route.ro_lle); /* zeros ro_lle */ + if (inp->inp_route6.ro_lle) + LLE_FREE(inp->inp_route6.ro_lle); /* zeros ro_lle */ return inp; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809032212.w83MCnC6022270>