CVSROOT: /cvs Module name: src Changes by: patr...@cvs.openbsd.org 2021/06/11 06:47:15
Modified files: sys/dev/pv : if_hvn.c Log message: Drop received packets unless IFF_RUNNING is set. When hvn(4) attaches it sends commands and waits for replies to come back in. The receive pipe seems to contain both command completions and data packets. When waiting for command completion during hvn(4) attach, it's possible for packets to show up as well. We shouldn't call if_input() if hvn(4) is not set up, so drop them when we're not running. ok mikeb@