diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-18 03:59:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-18 03:59:23 -0400 |
commit | 938b93adb2642885e688390396472d22a7548748 (patch) | |
tree | 6bf3a55c15fe43421e8c5229cd74c9d71f26ea51 | |
parent | 577f99c1d08cf9cbdafd4e858dd13ff04d855090 (diff) |
[NET]: Add debugging names to __RW_LOCK_UNLOCKED macros.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv4/raw.c | 2 | ||||
-rw-r--r-- | net/ipv6/raw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index a3002fe65b7f..e10ef6c2202a 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -81,7 +81,7 @@ | |||
81 | #include <linux/netfilter_ipv4.h> | 81 | #include <linux/netfilter_ipv4.h> |
82 | 82 | ||
83 | static struct raw_hashinfo raw_v4_hashinfo = { | 83 | static struct raw_hashinfo raw_v4_hashinfo = { |
84 | .lock = __RW_LOCK_UNLOCKED(), | 84 | .lock = __RW_LOCK_UNLOCKED(raw_v4_hashinfo.lock), |
85 | }; | 85 | }; |
86 | 86 | ||
87 | void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h) | 87 | void raw_hash_sk(struct sock *sk, struct raw_hashinfo *h) |
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 8897ccf8086a..d6afa0216759 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <linux/seq_file.h> | 62 | #include <linux/seq_file.h> |
63 | 63 | ||
64 | static struct raw_hashinfo raw_v6_hashinfo = { | 64 | static struct raw_hashinfo raw_v6_hashinfo = { |
65 | .lock = __RW_LOCK_UNLOCKED(), | 65 | .lock = __RW_LOCK_UNLOCKED(raw_v6_hashinfo.lock), |
66 | }; | 66 | }; |
67 | 67 | ||
68 | static void raw_v6_hash(struct sock *sk) | 68 | static void raw_v6_hash(struct sock *sk) |