]> err.no Git - linux-2.6/commitdiff
[INET]: Fix typo in Arnaldo's connection sock compat fixups.
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:52:32 +0000 (22:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:52:32 +0000 (22:52 -0800)
"struct inet_csk" --> "struct inet_connection_sock" :-)

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c

index 9f6b44ca28a88861e702102406bc5835b870d489..9a01bb81f8bf99f5d4202e7e459b88d597170621 100644 (file)
@@ -672,7 +672,7 @@ EXPORT_SYMBOL_GPL(inet_csk_ctl_sock_create);
 int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname,
                               char __user *optval, int __user *optlen)
 {
-       const struct inet_csk *icsk = inet_csk(sk);
+       const struct inet_connection_sock *icsk = inet_csk(sk);
 
        if (icsk->icsk_af_ops->compat_getsockopt != NULL)
                return icsk->icsk_af_ops->compat_getsockopt(sk, level, optname,
@@ -686,7 +686,7 @@ EXPORT_SYMBOL_GPL(inet_csk_compat_getsockopt);
 int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname,
                               char __user *optval, int optlen)
 {
-       const struct inet_csk *icsk = inet_csk(sk);
+       const struct inet_connection_sock *icsk = inet_csk(sk);
 
        if (icsk->icsk_af_ops->compat_setsockopt != NULL)
                return icsk->icsk_af_ops->compat_setsockopt(sk, level, optname,