[PATCH] compile fix for svcsock.c

Rik van Riel (riel@redhat.com)
Fri, 20 Jun 2003 12:19:48 -0400 (EDT)


Looks like a typo in the recently applied patch to svcsock.c,
since it's looking at sk->state everywhere else.

--- linux-2.4.21/net/sunrpc/svcsock.c.orig 2003-06-20 12:13:58.000000000 -0400
+++ linux-2.4.21/net/sunrpc/svcsock.c 2003-06-20 12:14:08.000000000 -0400
@@ -1001,7 +1001,7 @@
3 * svsk->sk_server->sv_bufsz);

set_bit(SK_CHNGBUF, &svsk->sk_flags);
- if (sk->sk_state != TCP_ESTABLISHED)
+ if (sk->state != TCP_ESTABLISHED)
set_bit(SK_CLOSE, &svsk->sk_flags);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/