Skip to content

Commit

Permalink
[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Robert P. J. Day authored and David S. Miller committed Mar 18, 2008
1 parent 577f99c commit 938b93a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/ipv4/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion net/ipv6/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 938b93a

Please sign in to comment.