ipsec_input.c (106680) | ipsec_input.c (111888) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec_input.c 106680 2002-11-08 23:37:50Z sam $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec_input.c 111888 2003-03-04 23:19:55Z jlemon $ */ |
2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */ 3 4/* 5 * IPsec input processing. 6 */ 7 8#include "opt_inet.h" 9#include "opt_inet6.h" --- 381 unchanged lines hidden (view full) --- 391 /* XXX do we need to mark m_flags??? */ 392 } 393 394 key_sa_recordxfer(sav, m); /* record data transfer */ 395 396 /* 397 * Re-dispatch via software interrupt. 398 */ | 2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */ 3 4/* 5 * IPsec input processing. 6 */ 7 8#include "opt_inet.h" 9#include "opt_inet6.h" --- 381 unchanged lines hidden (view full) --- 391 /* XXX do we need to mark m_flags??? */ 392 } 393 394 key_sa_recordxfer(sav, m); /* record data transfer */ 395 396 /* 397 * Re-dispatch via software interrupt. 398 */ |
399 if (!IF_HANDOFF(&ipintrq, m, NULL)) { | 399 if (!netisr_queue(NETISR_IP, m)) { |
400 IPSEC_ISTAT(sproto, espstat.esps_qfull, ahstat.ahs_qfull, 401 ipcompstat.ipcomps_qfull); 402 403 DPRINTF(("ipsec4_common_input_cb: queue full; " 404 "proto %u packet dropped\n", sproto)); 405 return ENOBUFS; 406 } | 400 IPSEC_ISTAT(sproto, espstat.esps_qfull, ahstat.ahs_qfull, 401 ipcompstat.ipcomps_qfull); 402 403 DPRINTF(("ipsec4_common_input_cb: queue full; " 404 "proto %u packet dropped\n", sproto)); 405 return ENOBUFS; 406 } |
407 schednetisr(NETISR_IP); | |
408 return 0; 409bad: 410 m_freem(m); 411 return error; 412} 413#endif /* INET */ 414 415#ifdef INET6 --- 331 unchanged lines hidden --- | 407 return 0; 408bad: 409 m_freem(m); 410 return error; 411} 412#endif /* INET */ 413 414#ifdef INET6 --- 331 unchanged lines hidden --- |