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
4c0e1e4b
Commit
4c0e1e4b
authored
Jun 27, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/davem/BK/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
cad6dc2f
6fffe657
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
12 deletions
+9
-12
include/net/ip.h
include/net/ip.h
+0
-3
net/atm/br2684.c
net/atm/br2684.c
+1
-1
net/atm/clip.c
net/atm/clip.c
+1
-1
net/atm/common.c
net/atm/common.c
+1
-1
net/atm/lec.c
net/atm/lec.c
+3
-3
net/atm/svc.c
net/atm/svc.c
+1
-1
net/core/sock.c
net/core/sock.c
+2
-2
No files found.
include/net/ip.h
View file @
4c0e1e4b
...
...
@@ -32,10 +32,7 @@
#include <linux/in_route.h>
#include <net/route.h>
#include <net/arp.h>
#ifndef _SNMP_H
#include <net/snmp.h>
#endif
struct
sock
;
...
...
net/atm/br2684.c
View file @
4c0e1e4b
...
...
@@ -558,7 +558,7 @@ Note: we do not have explicit unassign, but look at _push()
atmvcc
->
push
=
br2684_push
;
skb_queue_head_init
(
&
copy
);
skb_migrate
(
&
atmvcc
->
sk
->
sk_receive_queue
,
&
copy
);
while
((
skb
=
skb_dequeue
(
&
copy
)))
{
while
((
skb
=
skb_dequeue
(
&
copy
))
!=
NULL
)
{
BRPRIV
(
skb
->
dev
)
->
stats
.
rx_bytes
-=
skb
->
len
;
BRPRIV
(
skb
->
dev
)
->
stats
.
rx_packets
--
;
br2684_push
(
atmvcc
,
skb
);
...
...
net/atm/clip.c
View file @
4c0e1e4b
...
...
@@ -503,7 +503,7 @@ static int clip_mkip(struct atm_vcc *vcc,int timeout)
skb_queue_head_init
(
&
copy
);
skb_migrate
(
&
vcc
->
sk
->
sk_receive_queue
,
&
copy
);
/* re-process everything received between connection setup and MKIP */
while
((
skb
=
skb_dequeue
(
&
copy
)))
while
((
skb
=
skb_dequeue
(
&
copy
))
!=
NULL
)
if
(
!
clip_devs
)
{
atm_return
(
vcc
,
skb
->
truesize
);
kfree_skb
(
skb
);
...
...
net/atm/common.c
View file @
4c0e1e4b
...
...
@@ -187,7 +187,7 @@ static void vcc_destroy_socket(struct sock *sk)
vcc_remove_socket
(
sk
);
/* no more receive */
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
)))
{
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
))
!=
NULL
)
{
atm_return
(
vcc
,
skb
->
truesize
);
kfree_skb
(
skb
);
}
...
...
net/atm/lec.c
View file @
4c0e1e4b
...
...
@@ -567,7 +567,7 @@ lec_atm_close(struct atm_vcc *vcc)
if
(
skb_peek
(
&
vcc
->
sk
->
sk_receive_queue
))
printk
(
"%s lec_atm_close: closing with messages pending
\n
"
,
dev
->
name
);
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
)))
{
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
))
!=
NULL
)
{
atm_return
(
vcc
,
skb
->
truesize
);
dev_kfree_skb
(
skb
);
}
...
...
@@ -1940,7 +1940,7 @@ lec_arp_check_expire(unsigned long data)
priv
->
path_switching_delay
))
{
struct
sk_buff
*
skb
;
while
((
skb
=
skb_dequeue
(
&
entry
->
tx_wait
)))
while
((
skb
=
skb_dequeue
(
&
entry
->
tx_wait
))
!=
NULL
)
lec_send
(
entry
->
vcc
,
skb
,
entry
->
priv
);
entry
->
last_used
=
jiffies
;
entry
->
status
=
...
...
@@ -2337,7 +2337,7 @@ lec_flush_complete(struct lec_priv *priv, unsigned long tran_id)
entry
->
status
==
ESI_FLUSH_PENDING
)
{
struct
sk_buff
*
skb
;
while
((
skb
=
skb_dequeue
(
&
entry
->
tx_wait
)))
while
((
skb
=
skb_dequeue
(
&
entry
->
tx_wait
))
!=
NULL
)
lec_send
(
entry
->
vcc
,
skb
,
entry
->
priv
);
entry
->
status
=
ESI_FORWARD_DIRECT
;
DPRINTK
(
"LEC_ARP: Flushed
\n
"
);
...
...
net/atm/svc.c
View file @
4c0e1e4b
...
...
@@ -66,7 +66,7 @@ static void svc_disconnect(struct atm_vcc *vcc)
}
/* beware - socket is still in use by atmsigd until the last
as_indicate has been answered */
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
)))
{
while
((
skb
=
skb_dequeue
(
&
vcc
->
sk
->
sk_receive_queue
))
!=
NULL
)
{
DPRINTK
(
"LISTEN REL
\n
"
);
sigd_enq2
(
NULL
,
as_reject
,
vcc
,
NULL
,
NULL
,
&
vcc
->
qos
,
0
);
dev_kfree_skb
(
skb
);
...
...
net/core/sock.c
View file @
4c0e1e4b
...
...
@@ -523,7 +523,7 @@ int sock_getsockopt(struct socket *sock, int level, int optname,
v
.
tm
.
tv_usec
=
0
;
}
else
{
v
.
tm
.
tv_sec
=
sk
->
sk_rcvtimeo
/
HZ
;
v
.
tm
.
tv_usec
=
((
sk
->
sk_rcvtimeo
%
HZ
)
*
1000
)
/
HZ
;
v
.
tm
.
tv_usec
=
((
sk
->
sk_rcvtimeo
%
HZ
)
*
1000
000
)
/
HZ
;
}
break
;
...
...
@@ -534,7 +534,7 @@ int sock_getsockopt(struct socket *sock, int level, int optname,
v
.
tm
.
tv_usec
=
0
;
}
else
{
v
.
tm
.
tv_sec
=
sk
->
sk_sndtimeo
/
HZ
;
v
.
tm
.
tv_usec
=
((
sk
->
sk_sndtimeo
%
HZ
)
*
1000
)
/
HZ
;
v
.
tm
.
tv_usec
=
((
sk
->
sk_sndtimeo
%
HZ
)
*
1000
000
)
/
HZ
;
}
break
;
...
...
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