[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.158.2.3 and 1.158.2.4

version 1.158.2.3, 2017/03/20 06:57:50 version 1.158.2.4, 2017/04/26 02:53:29
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_so(m, last->inp_socket)) {                      ipsec4_in_reject(m, last)) {
                         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_so(m, last->inp_socket)) {              && ipsec4_in_reject(m, last)) {
                 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);

Legend:
Removed from v.1.158.2.3  
changed lines
  Added in v.1.158.2.4

CVSweb <webmaster@jp.NetBSD.org>