Do not use the interface pointer after if_put(). Rename ipip_input_gif()
authorbluhm <bluhm@openbsd.org>
Tue, 20 Jun 2017 11:12:13 +0000 (11:12 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 20 Jun 2017 11:12:13 +0000 (11:12 +0000)
commitab2f82959db5c9850423130b77a2950dcdcff9b8
tree19255c224c9d1ff4b2a18166cc44328a48bb0640
parent7bf2a6c3b59f4ccc7281fb278b4dba88cb46318f
Do not use the interface pointer after if_put().  Rename ipip_input_gif()
to ipip_input_if() and always pass the ifp.  Only dump the packet
to bpf if we are called with a gif(4) interface.
OK mpi@
sys/net/if_gif.c
sys/netinet/ip_ipip.c
sys/netinet/ip_ipip.h