]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix struct sock bitfield annotation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 8 Oct 2009 22:50:25 +0000 (22:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2009 06:03:52 +0000 (23:03 -0700)
commit10d0397fbbd439ff1ba35a6c09429b75776fe297
tree6b3b8309595e49173d935ed95e71fcc2788d4e24
parent72be7d3d808f31f18155759952872e784f9b87a6
net: Fix struct sock bitfield annotation

Since commit 2154d9cd (net: annotate struct sock bitfield), we lost
8 bytes in struct sock on 64bit arches because of
kmemcheck_bitfield_end(flags) misplacement.

Fix this by putting together sk_shutdown, sk_no_check, sk_userlocks,
sk_protocol and sk_type in the 'flags' 32bits bitfield

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h