HomeFreeBSD

net: bandaid for plugging a fw_com leak in fwip_detach()

Description

net: bandaid for plugging a fw_com leak in fwip_detach()

Adding a temporary workaround for plugging a fw_com upon if_fwip unloading.

Steps to reproduce(needs two hosts connected with firewire):

while true; do
  ifconfig fwip0 10.0.0.5 up
  fwcontrol -r
  ping -c 10.0.0.3
  kldunload if_fwip
done

There's a chance that the unloading of if_fwip.ko triggers following warning:

Warning: memory type fw_com leaked memory on destroy (1 allocations, 64 bytes leaked).

commit d79b6b8ec267e7eef6e07cf4245159705e24acd5 (origin/main, origin/HEAD)

(cherry picked from commit 25a5bb7318052322190a2880e0e7ef18e06d54bd)

Details

Provenance
avatarAuthored on Feb 15 2024, 1:00 AM
Parents
rG65b472e58cd5: sound: Add AFMT_FLOAT to feed_volume_info_tab
Branches
Unknown
Tags
Unknown