[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <477DC304.40508@cosmosbay.com>
Date: Fri, 04 Jan 2008 06:24:20 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: [ICMP]: Avoid sparse warnings in net/ipv4/icmp.c
CHECK net/ipv4/icmp.c
net/ipv4/icmp.c:249:13: warning: context imbalance in 'icmp_xmit_unlock' -
unexpected unlock
net/ipv4/icmp.c:376:13: warning: context imbalance in 'icmp_reply' - different
lock contexts for basic block
net/ipv4/icmp.c:430:6: warning: context imbalance in 'icmp_send' - different
lock contexts for basic block
Solution is to declare icmp_xmit_unlock() as __inline__ (similar with
icmp_xmit_lock())
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
net/ipv4/icmp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
View attachment "icmp.patch" of type "text/plain" (336 bytes)
Powered by blists - more mailing lists