net: sock_flag() cleanup
authorEric Dumazet <edumazet@google.com>
Wed, 16 May 2012 05:57:07 +0000 (05:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 19:30:26 +0000 (15:30 -0400)
commit1b23a5dfc20469d4a4bb8a552dd224ac693c407c
tree304bbd5a49eb33a0fa4e8ca103811c0f936037c7
parent865ec5523dadbedefbc5710a68969f686a28d928
net: sock_flag() cleanup

- sock_flag() accepts a const pointer

- sock_flag() returns a boolean

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c