lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 02 Jan 2008 06:50:14 +0100
From:	Eric Dumazet <dada1@...mosbay.com>
To:	"David S. Miller" <davem@...emloft.net>
CC:	Linux Netdev List <netdev@...r.kernel.org>
Subject: [NET] Sparse annotations

Add __acquires() and __releases() annotations to suppress some sparse warnings.

example of warnings :

net/ipv4/udp.c:1555:14: warning: context imbalance in 'udp_seq_start' - wrong 
count at exit
net/ipv4/udp.c:1571:13: warning: context imbalance in 'udp_seq_stop' - 
unexpected unlock


Signed-off-by: Eric Dumazet <dada1@...mosbay.com>

  net/core/dev.c             |    2 ++
  net/core/dev_mcast.c       |    2 ++
  net/core/gen_stats.c       |    1 +
  net/core/neighbour.c       |    2 ++
  net/core/sock.c            |    2 ++
  net/ipv4/fib_hash.c        |    2 ++
  net/ipv4/inet_hashtables.c |    1 +
  net/ipv4/udp.c             |    2 ++
  net/ipv6/anycast.c         |    2 ++
  net/ipv6/ip6_flowlabel.c   |    2 ++
  net/ipv6/mcast.c           |    4 ++++
  net/netlink/af_netlink.c   |    4 ++++
  net/sched/sch_generic.c    |    4 ++++
  net/sunrpc/cache.c         |    2 ++
  net/unix/af_unix.c         |    2 ++
  net/xfrm/xfrm_state.c      |    2 ++
  16 files changed, 36 insertions(+)


View attachment "net_sparse.patch" of type "text/plain" (10496 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ