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); |