netlink: Annotate RCU locking for seq_file walker
authorThomas Graf <tgraf@suug.ch>
Wed, 13 Aug 2014 14:38:32 +0000 (16:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 22:13:40 +0000 (15:13 -0700)
commit9ce12eb16ffb143f3a509da86283ddd0b10bcdb3
treec7a478ce8b7854149a2d2647fdc820622b5becf5
parent93f560811e80216e98f3fcec220aa0f8836b09af
netlink: Annotate RCU locking for seq_file walker

Silences the following sparse warnings:
net/netlink/af_netlink.c:2926:21: warning: context imbalance in 'netlink_seq_start' - wrong count at exit
net/netlink/af_netlink.c:2972:13: warning: context imbalance in 'netlink_seq_stop' - unexpected unlock

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c