[PATCH 1/1] wireguard-linux: add netlink multicast group for notifications on peer change

Daniel Gröber dxld at darkboxed.org
Wed Dec 20 15:04:19 UTC 2023


Hi Raphael, Linus,

Interesting patch, I've been meaning to get around to adding some change
notifications as well :)

I have some notes:

 - It seem to me some more sharing with existing code constructing nlmsgs
   ought to be possible your new code seems quite verbose.

 - Why is the endpoint_monitor flag necessary? Other genlmsg_multicast
   callers don't seem to do anything like this.

Do you have corresponding wireguard-tools userspace patches for this yet?

--Daniel

PS: If you intend for this to get applied you may want to fix
scripts/checkpatch.pl warnings and add people get_maintainers.pl spits out
to Cc.


More information about the WireGuard mailing list