[DragonFlyBSD - Submit #3126] (New) Bring in BIOC{S,G}FEEDBACK

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Mar 30 17:13:31 PDT 2018


Issue #3126 has been reported by tuxillo.

----------------------------------------
Submit #3126: Bring in BIOC{S,G}FEEDBACK 
http://bugs.dragonflybsd.org/issues/3126

* Author: tuxillo
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Hi,

The port net/vde2 uses a ioctl command BIOCFEEDBACK for FreeBSD to allow host-guest communication in a vde switch. The attached patch is the initial attempt to bring that ioctl command from NetBSD.
It compiles but it's untested until I figure out how to test it.

I'd need some pointers though:

- Is it okay to use directly ifp->if_input directly? Isn't there a mechanism similar to the one used in bpfwrite() -> bpf_output_dispatch but for input?
- If it's okay to use ifp->if_input directly, wouldn't it need some locking?

Cheers,
Antonio Huete

---Files--------------------------------
bpf_biocfeedback.patch (3.28 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list