diff options
author | rrs <rrs@FreeBSD.org> | 2009-01-06 13:27:56 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2009-01-06 13:27:56 +0000 |
commit | fcaf24fb5440688bbd3997b83b242330459a542a (patch) | |
tree | 87ba73fb23ee225a631ab40bbc195ca8efaef231 /sys/netinet6/udp6_usrreq.c | |
parent | b73b4a5b71b286f756045f937874d341a8645201 (diff) | |
download | FreeBSD-src-fcaf24fb5440688bbd3997b83b242330459a542a.zip FreeBSD-src-fcaf24fb5440688bbd3997b83b242330459a542a.tar.gz |
Addresses Roberts comments on comments. Also adds
the KASSERT and checks suggested.
Reviewed by: The udp tunneling was discussed on net@ under the
thread entitled "Heads up -- Thinking about UDP and tunneling"
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index ed75759..dea8ed2 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -293,8 +293,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) * protocol we will have to * leave the info_lock up, * since we are hunting - * through multiple UDP - * inp's hope we don't break. + * through multiple UDP's. * */ udp_tun_func_t tunnel_func; @@ -336,9 +335,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) INP_INFO_RUNLOCK(&V_udbinfo); if (last->inp_ppcb != NULL) { /* - * Engage the tunneling protocol we must make sure - * all locks are released when we call the tunneling - * protocol. + * Engage the tunneling protocol. */ udp_tun_func_t tunnel_func; @@ -386,8 +383,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) INP_INFO_RUNLOCK(&V_udbinfo); if (inp->inp_ppcb != NULL) { /* - * Engage the tunneling protocol we must make sure all locks - * are released when we call the tunneling protocol. + * Engage the tunneling protocol. */ udp_tun_func_t tunnel_func; |