You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
connector: add portid to unicast in addition to broadcasting
This allows replying only to the requestor portid while still supporting broadcasting. Pass 0 to portid for the previous behavior. Signed-off-by: David Fries <David@Fries.net> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9fcbbac5de
commit
ac8f73305e
@@ -190,7 +190,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task)
|
||||
uvfb_tasks[seq] = task;
|
||||
mutex_unlock(&uvfb_lock);
|
||||
|
||||
err = cn_netlink_send(m, 0, GFP_KERNEL);
|
||||
err = cn_netlink_send(m, 0, 0, GFP_KERNEL);
|
||||
if (err == -ESRCH) {
|
||||
/*
|
||||
* Try to start the userspace helper if sending
|
||||
@@ -204,7 +204,7 @@ static int uvesafb_exec(struct uvesafb_ktask *task)
|
||||
"helper is installed and executable\n");
|
||||
} else {
|
||||
v86d_started = 1;
|
||||
err = cn_netlink_send(m, 0, gfp_any());
|
||||
err = cn_netlink_send(m, 0, 0, gfp_any());
|
||||
if (err == -ENOBUFS)
|
||||
err = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user