[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.226 and 1.227

version 1.226, 2016/06/10 13:31:44 version 1.227, 2016/10/19 01:13:01
Line 1339  udp4_espinudp(struct mbuf **mp, int off,
Line 1339  udp4_espinudp(struct mbuf **mp, int off,
         ((u_int16_t *)(tag + 1))[1] = dport;          ((u_int16_t *)(tag + 1))[1] = dport;
         m_tag_prepend(m, tag);          m_tag_prepend(m, tag);
   
 #ifdef IPSEC  
         if (ipsec_used)          if (ipsec_used)
                 ipsec4_common_input(m, iphdrlen, IPPROTO_ESP);                  ipsec4_common_input(m, iphdrlen, IPPROTO_ESP);
         /* XXX: else */          /* XXX: else */
 #else  
         esp4_input(m, iphdrlen);  
 #endif  
   
         /* We handled it, it shouldn't be handled by UDP */          /* We handled it, it shouldn't be handled by UDP */
         *mp = NULL; /* avoid free by caller ... */          *mp = NULL; /* avoid free by caller ... */

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

CVSweb <webmaster@jp.NetBSD.org>