Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b28a4b9a
Commit
b28a4b9a
authored
Jan 27, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solos: Reject non-AAL5 connections.... for now
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
1e615df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/atm/solos-pci.c
drivers/atm/solos-pci.c
+6
-0
No files found.
drivers/atm/solos-pci.c
View file @
b28a4b9a
...
...
@@ -732,6 +732,12 @@ static int popen(struct atm_vcc *vcc)
struct
sk_buff
*
skb
;
struct
pkt_hdr
*
header
;
if
(
vcc
->
qos
.
aal
!=
ATM_AAL5
)
{
dev_warn
(
&
card
->
dev
->
dev
,
"Unsupported ATM type %d
\n
"
,
vcc
->
qos
.
aal
);
return
-
EINVAL
;
}
skb
=
alloc_skb
(
sizeof
(
*
header
),
GFP_ATOMIC
);
if
(
!
skb
&&
net_ratelimit
())
{
dev_warn
(
&
card
->
dev
->
dev
,
"Failed to allocate sk_buff in popen()
\n
"
);
...
...
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