Re: move gif_encap to simplify gif_start

2018-01-10 Thread David Gwynne
On Thu, Jan 11, 2018 at 01:27:56PM +1000, David Gwynne wrote: > this avoids having to parse the gif packet before sending it to > bpf. instead, we stash the address family in the mbuf and add it > after bpf. > > however, a gif_encap error will not be propagated back to the sender. > i dont think

move gif_encap to simplify gif_start

2018-01-10 Thread David Gwynne
this avoids having to parse the gif packet before sending it to bpf. instead, we stash the address family in the mbuf and add it after bpf. however, a gif_encap error will not be propagated back to the sender. i dont think this is a huge loss as the ip packet is usually encapsulated itself after