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
a5bb67e9
Commit
a5bb67e9
authored
Oct 16, 2003
by
Chas Williams
Committed by
Stephen Hemminger
Oct 16, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: Minor cleanup for vcc_hash conversion
parent
5b7854dd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
drivers/atm/fore200e.c
drivers/atm/fore200e.c
+0
-1
net/atm/proc.c
net/atm/proc.c
+3
-3
No files found.
drivers/atm/fore200e.c
View file @
a5bb67e9
...
...
@@ -1071,7 +1071,6 @@ fore200e_find_vcc(struct fore200e* fore200e, struct rpd* rpd)
struct
sock
*
s
;
struct
atm_vcc
*
vcc
;
struct
hlist_node
*
node
;
int
i
;
read_lock
(
&
vcc_sklist_lock
);
...
...
net/atm/proc.c
View file @
a5bb67e9
...
...
@@ -219,10 +219,10 @@ static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
default:
seq_printf
(
seq
,
"%3d"
,
vcc
->
sk
->
sk_family
);
}
seq_printf
(
seq
,
" %04lx %5d %7d/%7d %7d/%7d [%d]
0x%x
\n
"
,
vcc
->
flags
,
vcc
->
sk
->
sk_err
,
seq_printf
(
seq
,
" %04lx %5d %7d/%7d %7d/%7d [%d]
\n
"
,
vcc
->
flags
,
vcc
->
sk
->
sk_err
,
atomic_read
(
&
vcc
->
sk
->
sk_wmem_alloc
),
vcc
->
sk
->
sk_sndbuf
,
atomic_read
(
&
vcc
->
sk
->
sk_rmem_alloc
),
vcc
->
sk
->
sk_rcvbuf
,
atomic_read
(
&
vcc
->
sk
->
sk_refcnt
)
,
vcc
->
sk
->
sk_hashent
);
atomic_read
(
&
vcc
->
sk
->
sk_refcnt
));
}
static
void
svc_info
(
struct
seq_file
*
seq
,
struct
atm_vcc
*
vcc
)
...
...
@@ -320,7 +320,7 @@ static int vcc_seq_show(struct seq_file *seq, void *v)
if
(
v
==
(
void
*
)
1
)
{
seq_printf
(
seq
,
sizeof
(
void
*
)
==
4
?
"%-8s%s"
:
"%-16s%s"
,
"Address "
,
"Itf VPI VCI Fam Flags Reply "
"Send buffer Recv buffer
\n
"
);
"Send buffer Recv buffer
[refcnt]
\n
"
);
}
else
{
struct
vcc_state
*
state
=
seq
->
private
;
struct
atm_vcc
*
vcc
=
atm_sk
(
state
->
sk
);
...
...
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