]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd23688ce1aee0a397ffaed4342f383bffe75d56d
treec7a478ce8b7854149a2d2647fdc820622b5becf5
parent67bc9ae101937970f7752d82dd398647f6b16786
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