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
c9d82cbf
Commit
c9d82cbf
authored
Oct 11, 2002
by
Adrian Bunk
Committed by
Linus Torvalds
Oct 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ATM build fix
Fix buggy #if removal in iphase.c that crept in with the initcalls fixup.
parent
e2f0176d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
drivers/atm/iphase.c
drivers/atm/iphase.c
+0
-12
No files found.
drivers/atm/iphase.c
View file @
c9d82cbf
...
...
@@ -1158,18 +1158,6 @@ static int rx_pkt(struct atm_dev *dev)
}
if
(
!
(
skb
=
atm_alloc_charge
(
vcc
,
len
,
GFP_ATOMIC
)))
{
/* lets allocate an skb for now */
skb
=
alloc_skb
(
len
,
GFP_ATOMIC
);
if
(
!
skb
)
{
IF_ERR
(
printk
(
"can't allocate memory for recv, drop pkt!
\n
"
);)
atomic_inc
(
&
vcc
->
stats
->
rx_drop
);
atm_return
(
vcc
,
atm_pdu2truesize
(
len
));
goto
out_free_desc
;
}
}
else
{
IF_EVENT
(
printk
(
"IA: Rx over the rx_quota %ld
\n
"
,
vcc
->
rx_quota
);)
if
(
vcc
->
vci
<
32
)
printk
(
"Drop control packets
\n
"
);
goto
out_free_desc
;
...
...
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