diff options
author | David Fries <David@Fries.net> | 2014-01-15 22:29:19 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 15:40:17 -0800 |
commit | ac8f73305eea8a12fdcb6090417eb93a74efbcbd (patch) | |
tree | 62e1686b23716165be9ab5de335a0a59bab12908 /Documentation/connector | |
parent | 9fcbbac5ded489c3a4e121343db999dd51cd6c75 (diff) | |
download | op-kernel-dev-ac8f73305eea8a12fdcb6090417eb93a74efbcbd.zip op-kernel-dev-ac8f73305eea8a12fdcb6090417eb93a74efbcbd.tar.gz |
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>
Diffstat (limited to 'Documentation/connector')
-rw-r--r-- | Documentation/connector/cn_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c index adcca03..d12cc94 100644 --- a/Documentation/connector/cn_test.c +++ b/Documentation/connector/cn_test.c @@ -145,7 +145,7 @@ static void cn_test_timer_func(unsigned long __data) memcpy(m + 1, data, m->len); - cn_netlink_send(m, 0, GFP_ATOMIC); + cn_netlink_send(m, 0, 0, GFP_ATOMIC); kfree(m); } |