Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 938b93ad authored by Robert P. J. Day's avatar Robert P. J. Day Committed by David S. Miller
Browse files

[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.

parent 577f99c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@
#include <linux/netfilter_ipv4.h>

static struct raw_hashinfo raw_v4_hashinfo = {
	.lock = __RW_LOCK_UNLOCKED(),
	.lock = __RW_LOCK_UNLOCKED(raw_v4_hashinfo.lock),
};

void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h)
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
#include <linux/seq_file.h>

static struct raw_hashinfo raw_v6_hashinfo = {
	.lock = __RW_LOCK_UNLOCKED(),
	.lock = __RW_LOCK_UNLOCKED(raw_v6_hashinfo.lock),
};

static void raw_v6_hash(struct sock *sk)