HomeFreeBSD

if_firewire: fixing panic upon packet reception for VNET build

Description

if_firewire: fixing panic upon packet reception for VNET build

netisr_dispatch_src() needs a valid VNET pointer or firewire_input() will panic
when receiving a packet.

Reviewed by: glebius
MFC after: 2 weeks

(cherry picked from commit d9b61e7153c64b141436b4d9619b166c6d35a0a6)

Details

Provenance
avatarAuthored on Apr 10 2021, 3:32 PM
Parents
rG53a9046635f1: pipe: Avoid calling selrecord() on a closing pipe
Branches
Unknown
Tags
Unknown