Re: hvn(4): don't input mbufs if interface is not running

2021-06-11 Thread Mike Belopuhov
On 12/05/2021 15:15, Patrick Wildt wrote: > Hi, > > when hvn(4) attaches it sends commands and waits for replies to come > back in, hence the interrupt function is being polled. Unfortunately > it seems that the 'receive pipe' has both command completion and data > packets. As it turns out,

hvn(4): don't input mbufs if interface is not running

2021-05-12 Thread Patrick Wildt
Hi, when hvn(4) attaches it sends commands and waits for replies to come back in, hence the interrupt function is being polled. Unfortunately it seems that the 'receive pipe' has both command completion and data packets. As it turns out, while hvn(4) is just setting up the pipes, it can already