Lines 1943-1949
static struct ctl_path netflow_sysctl_path[] = {
Link Here
|
1943 |
#endif /* CONFIG_SYSCTL */ |
1943 |
#endif /* CONFIG_SYSCTL */ |
1944 |
|
1944 |
|
1945 |
/* socket code */ |
1945 |
/* socket code */ |
1946 |
static void sk_error_report(struct sock *sk) |
1946 |
static void netflow_sk_error_report(struct sock *sk) |
1947 |
{ |
1947 |
{ |
1948 |
struct ipt_netflow_sock *usock; |
1948 |
struct ipt_netflow_sock *usock; |
1949 |
|
1949 |
|
Lines 1974-1980
static struct socket *usock_open_sock(struct ipt_netflow_sock *usock)
Link Here
|
1974 |
} |
1974 |
} |
1975 |
sock->sk->sk_allocation = GFP_ATOMIC; |
1975 |
sock->sk->sk_allocation = GFP_ATOMIC; |
1976 |
sock->sk->sk_prot->unhash(sock->sk); /* hidden from input */ |
1976 |
sock->sk->sk_prot->unhash(sock->sk); /* hidden from input */ |
1977 |
sock->sk->sk_error_report = &sk_error_report; /* clear ECONNREFUSED */ |
1977 |
sock->sk->sk_error_report = &netflow_sk_error_report; /* clear ECONNREFUSED */ |
1978 |
sock->sk->sk_user_data = usock; |
1978 |
sock->sk->sk_user_data = usock; |
1979 |
sock->sk->sk_reuse = SK_CAN_REUSE; |
1979 |
sock->sk->sk_reuse = SK_CAN_REUSE; |
1980 |
|
1980 |
|
1981 |
- |
|
|