ipsec.diff

dragonfly, 04/22/2006 03:56 PM

Download (1.64 KB)

View differences:

sys/netproto/ipsec/ipsec.c 22 Apr 2006 12:01:51 -0000
672 672
			spidx->dst.sin.sin_port = uh.uh_dport;
673 673
			return;
674 674
		case IPPROTO_AH:
675
			if (m->m_pkthdr.len > off + sizeof(ip6e))
675
			if (off + sizeof(ip6e) > m->m_pkthdr.len)
676 676
				goto done;
677 677
			/* XXX sigh, this works but is totally bogus */
678 678
			m_copydata(m, off, sizeof(ip6e), (caddr_t) &ip6e);
sys/netproto/ipsec/keysock.c 19 Apr 2006 18:00:36 -0000
48 48
#include <sys/socketvar.h>
49 49
#include <sys/sysctl.h>
50 50
#include <sys/systm.h>
51
#include <sys/thread2.h>
51 52

  
52 53
#include <net/raw_cb.h>
53 54
#include <net/route.h>
sys/netproto/ipsec/xform_ipcomp.c 19 Apr 2006 17:46:55 -0000
40 40
#include <sys/kernel.h>
41 41
#include <sys/protosw.h>
42 42
#include <sys/sysctl.h>
43
#include <sys/thread2.h>
43 44

  
44 45
#include <netinet/in.h>
45 46
#include <netinet/in_systm.h>