Messages in this thread Patch in this message | | | Date | Fri, 7 Apr 2006 10:15:33 +0200 | From | Heiko Carstens <> | Subject | [patch] ipv4: initialize arp_tbl rw lock |
| |
From: Heiko Carstens <heiko.carstens@de.ibm.com>
The qeth driver makes use of the arp_tbl rw lock. CONFIG_DEBUG_SPINLOCK detects that this lock is not initialized as it is supposed to be.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> ---
net/ipv4/arp.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 041dadd..ea54216 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c @@ -202,6 +202,7 @@ struct neigh_table arp_tbl = { .gc_thresh1 = 128, .gc_thresh2 = 512, .gc_thresh3 = 1024, + .lock = RW_LOCK_UNLOCKED, }; int arp_mc_map(u32 addr, u8 *haddr, struct net_device *dev, int dir) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |