Skip to content

Commit 8e7dfbc

Browse files
silviupopescudavem330
authored andcommitted
tcp_output: fix sparse warning for tcp_wfree
Fix sparse warning: * symbol 'tcp_wfree' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 7cefdd1 commit 8e7dfbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/ipv4/tcp_output.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ void __init tcp_tasklet_init(void)
940940
* We cant xmit new skbs from this context, as we might already
941941
* hold qdisc lock.
942942
*/
943-
void tcp_wfree(struct sk_buff *skb)
943+
static void tcp_wfree(struct sk_buff *skb)
944944
{
945945
struct sock *sk = skb->sk;
946946
struct tcp_sock *tp = tcp_sk(sk);

0 commit comments

Comments
 (0)