]> git.baikalelectronics.ru Git - kernel.git/commit
Fix: sparse warning in inet_csk_prepare_forced_close
authorChristoph Paasch <christoph.paasch@uclouvain.be>
Thu, 7 Mar 2013 02:34:33 +0000 (02:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 21:31:29 +0000 (16:31 -0500)
commit9f9926d095263339fdea61c1804b4c407627cc1d
treee3e36d63d4e8d015c600d3b1a08d36a084bf729b
parent6101f63f33886108b7d59489a6db3332947db358
Fix: sparse warning in inet_csk_prepare_forced_close

In c744aee755 (inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and
dccp_v4/6_request_recv_sock) I introduced the function
inet_csk_prepare_forced_close, which does a call to bh_unlock_sock().
This produces a sparse-warning.

This patch adds the missing __releases.

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c