Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b1d445df
Commit
b1d445df
authored
Oct 03, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/net-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
6c654e21
f17aaf12
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
12 deletions
+0
-12
net/ipv4/af_inet.c
net/ipv4/af_inet.c
+0
-1
net/ipv4/tcp.c
net/ipv4/tcp.c
+0
-8
net/ipv4/tcp_diag.c
net/ipv4/tcp_diag.c
+0
-2
net/ipv6/af_inet6.c
net/ipv6/af_inet6.c
+0
-1
No files found.
net/ipv4/af_inet.c
View file @
b1d445df
...
@@ -312,7 +312,6 @@ static int inet_create(struct socket *sock, int protocol)
...
@@ -312,7 +312,6 @@ static int inet_create(struct socket *sock, int protocol)
sk_set_owner
(
sk
,
THIS_MODULE
);
sk_set_owner
(
sk
,
THIS_MODULE
);
sk
->
sk_destruct
=
inet_sock_destruct
;
sk
->
sk_destruct
=
inet_sock_destruct
;
sk
->
sk_zapped
=
0
;
sk
->
sk_family
=
PF_INET
;
sk
->
sk_family
=
PF_INET
;
sk
->
sk_protocol
=
protocol
;
sk
->
sk_protocol
=
protocol
;
sk
->
sk_backlog_rcv
=
sk
->
sk_prot
->
backlog_rcv
;
sk
->
sk_backlog_rcv
=
sk
->
sk_prot
->
backlog_rcv
;
...
...
net/ipv4/tcp.c
View file @
b1d445df
...
@@ -1593,14 +1593,6 @@ void tcp_destroy_sock(struct sock *sk)
...
@@ -1593,14 +1593,6 @@ void tcp_destroy_sock(struct sock *sk)
/* If it has not 0 inet_sk(sk)->num, it must be bound */
/* If it has not 0 inet_sk(sk)->num, it must be bound */
BUG_TRAP
(
!
inet_sk
(
sk
)
->
num
||
tcp_sk
(
sk
)
->
bind_hash
);
BUG_TRAP
(
!
inet_sk
(
sk
)
->
num
||
tcp_sk
(
sk
)
->
bind_hash
);
#ifdef TCP_DEBUG
if
(
sk
->
sk_zapped
)
{
printk
(
KERN_DEBUG
"TCP: double destroy sk=%p
\n
"
,
sk
);
sock_hold
(
sk
);
}
sk
->
sk_zapped
=
1
;
#endif
sk
->
sk_prot
->
destroy
(
sk
);
sk
->
sk_prot
->
destroy
(
sk
);
sk_stream_kill_queues
(
sk
);
sk_stream_kill_queues
(
sk
);
...
...
net/ipv4/tcp_diag.c
View file @
b1d445df
...
@@ -563,8 +563,6 @@ static int tcpdiag_dump(struct sk_buff *skb, struct netlink_callback *cb)
...
@@ -563,8 +563,6 @@ static int tcpdiag_dump(struct sk_buff *skb, struct netlink_callback *cb)
if
(
num
<
s_num
)
if
(
num
<
s_num
)
continue
;
continue
;
if
(
!
(
r
->
tcpdiag_states
&
(
1
<<
sk
->
sk_zapped
)))
continue
;
if
(
r
->
id
.
tcpdiag_sport
!=
inet
->
sport
&&
if
(
r
->
id
.
tcpdiag_sport
!=
inet
->
sport
&&
r
->
id
.
tcpdiag_sport
)
r
->
id
.
tcpdiag_sport
)
continue
;
continue
;
...
...
net/ipv6/af_inet6.c
View file @
b1d445df
...
@@ -191,7 +191,6 @@ static int inet6_create(struct socket *sock, int protocol)
...
@@ -191,7 +191,6 @@ static int inet6_create(struct socket *sock, int protocol)
}
}
sk
->
sk_destruct
=
inet6_sock_destruct
;
sk
->
sk_destruct
=
inet6_sock_destruct
;
sk
->
sk_zapped
=
0
;
sk
->
sk_family
=
PF_INET6
;
sk
->
sk_family
=
PF_INET6
;
sk
->
sk_protocol
=
protocol
;
sk
->
sk_protocol
=
protocol
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment