|
@@ -524,7 +524,7 @@ struct proto {
|
|
int (*ioctl)(struct sock *sk, int cmd,
|
|
int (*ioctl)(struct sock *sk, int cmd,
|
|
unsigned long arg);
|
|
unsigned long arg);
|
|
int (*init)(struct sock *sk);
|
|
int (*init)(struct sock *sk);
|
|
- int (*destroy)(struct sock *sk);
|
|
|
|
|
|
+ void (*destroy)(struct sock *sk);
|
|
void (*shutdown)(struct sock *sk, int how);
|
|
void (*shutdown)(struct sock *sk, int how);
|
|
int (*setsockopt)(struct sock *sk, int level,
|
|
int (*setsockopt)(struct sock *sk, int level,
|
|
int optname, char __user *optval,
|
|
int optname, char __user *optval,
|