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
nexedi
linux
Commits
78a9201c
Commit
78a9201c
authored
Jun 27, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
65d17d59
3a14676f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
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
No files found.
net/atm/br2684.c
View file @
78a9201c
...
...
@@ -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 @
78a9201c
...
...
@@ -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 @
78a9201c
...
...
@@ -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 @
78a9201c
...
...
@@ -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 @
78a9201c
...
...
@@ -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
);
...
...
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