diff options
author | Erik Hugne <erik.hugne@gmail.com> | 2019-03-21 11:11:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-21 19:09:04 +0300 |
commit | 33872d79f5d1cbedaaab79669cc38f16097a9450 (patch) | |
tree | cf20ae35cad162b95da2e85929ce7fb8af71fe52 /net/tipc/udp_media.c | |
parent | 64447506f152cf0f88a0fc23140ca1c5f7ff34a8 (diff) | |
download | linux-33872d79f5d1cbedaaab79669cc38f16097a9450.tar.xz |
tipc: fix cancellation of topology subscriptions
When cancelling a subscription, we have to clear the cancel bit in the
request before iterating over any established subscriptions with memcmp.
Otherwise no subscription will ever be found, and it will not be
possible to explicitly unsubscribe individual subscriptions.
Fixes: 8985ecc7c1e0 ("tipc: simplify endianness handling in topology subscriber")
Signed-off-by: Erik Hugne <erik.hugne@gmail.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/udp_media.c')
0 files changed, 0 insertions, 0 deletions