freebsd-nq/contrib/libpcap/bpf/net
Xin LI c62908a982 Incorporate vendor commit ecdc5c0a7f7591a7cd4a:
In userland, sign extend the offset for JA instructions.

We currently use that to implement "ip6 protochain", and "pc" might be
wider than "pc->k", in which case we need to arrange that "pc->k" be
sign-extended, by casting it to bpf_int32.

PR:		kern/157188
Submitted by:	plosher
MFC after:	2 weeks
2011-06-28 00:58:12 +00:00
..
bpf_filter.c Incorporate vendor commit ecdc5c0a7f7591a7cd4a: 2011-06-28 00:58:12 +00:00