[BACK]Return to raw_ip.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/raw_ip.c between version 1.161.2.1 and 1.162

version 1.161.2.1, 2017/04/21 16:54:06 version 1.162, 2017/01/24 07:09:24
Line 213  rip_input(struct mbuf *m, ...)
Line 213  rip_input(struct mbuf *m, ...)
 #if defined(IPSEC)  #if defined(IPSEC)
                 /* check AH/ESP integrity. */                  /* check AH/ESP integrity. */
                 else if (ipsec_used &&                  else if (ipsec_used &&
                     ipsec4_in_reject(m, last)) {                      ipsec4_in_reject_so(m, last->inp_socket)) {
                         IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);                          IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);
                         /* do not inject data to pcb */                          /* do not inject data to pcb */
                 }                  }
Line 228  rip_input(struct mbuf *m, ...)
Line 228  rip_input(struct mbuf *m, ...)
 #if defined(IPSEC)  #if defined(IPSEC)
         /* check AH/ESP integrity. */          /* check AH/ESP integrity. */
         if (ipsec_used && last != NULL          if (ipsec_used && last != NULL
             && ipsec4_in_reject(m, last)) {              && ipsec4_in_reject_so(m, last->inp_socket)) {
                 m_freem(m);                  m_freem(m);
                 IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);                  IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);
                 IP_STATDEC(IP_STAT_DELIVERED);                  IP_STATDEC(IP_STAT_DELIVERED);
Line 383  rip_output(struct mbuf *m, struct inpcb 
Line 383  rip_output(struct mbuf *m, struct inpcb 
          * will be stored in inp_errormtu.           * will be stored in inp_errormtu.
          */           */
         return ip_output(m, opts, &inp->inp_route, flags, inp->inp_moptions,          return ip_output(m, opts, &inp->inp_route, flags, inp->inp_moptions,
              inp);               inp->inp_socket);
 }  }
   
 /*  /*

Legend:
Removed from v.1.161.2.1  
changed lines
  Added in v.1.162

CVSweb <webmaster@jp.NetBSD.org>