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
3a118194
Commit
3a118194
authored
Mar 25, 2003
by
Randy Dunlap
Committed by
David S. Miller
Mar 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: typo and comment fixes
parent
d3bdd3e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
net/ipv4/tcp_input.c
net/ipv4/tcp_input.c
+1
-1
net/sched/sch_csz.c
net/sched/sch_csz.c
+1
-1
net/socket.c
net/socket.c
+4
-4
No files found.
net/ipv4/tcp_input.c
View file @
3a118194
...
@@ -3363,7 +3363,7 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
...
@@ -3363,7 +3363,7 @@ int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
/*
/*
* Header prediction.
* Header prediction.
* The code losely follows the one in the famous
* The code lo
o
sely follows the one in the famous
* "30 instruction TCP receive" Van Jacobson mail.
* "30 instruction TCP receive" Van Jacobson mail.
*
*
* Van's trick is to deposit buffers into socket queue
* Van's trick is to deposit buffers into socket queue
...
...
net/sched/sch_csz.c
View file @
3a118194
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
CSZ presents a more precise but less flexible and less efficient
CSZ presents a more precise but less flexible and less efficient
approach. As I understand it, the main idea is to create
approach. As I understand it, the main idea is to create
WFQ flows for each guaranteed service and to allocate
WFQ flows for each guaranteed service and to allocate
the rest of bandwith to dummy flow-0. Flow-0 comprises
the rest of bandwi
d
th to dummy flow-0. Flow-0 comprises
the predictive services and the best effort traffic;
the predictive services and the best effort traffic;
it is handled by a priority scheduler with the highest
it is handled by a priority scheduler with the highest
priority band allocated for predictive services, and the rest ---
priority band allocated for predictive services, and the rest ---
...
...
net/socket.c
View file @
3a118194
...
@@ -347,17 +347,17 @@ static struct dentry_operations sockfs_dentry_operations = {
...
@@ -347,17 +347,17 @@ static struct dentry_operations sockfs_dentry_operations = {
/*
/*
* Obtains the first available file descriptor and sets it up for use.
* Obtains the first available file descriptor and sets it up for use.
*
*
* This function
s
creates file structure and maps it to fd space
* This function creates file structure and maps it to fd space
* of current process. On success it returns file descriptor
* of current process. On success it returns file descriptor
* and file struct implicitly stored in sock->file.
* and file struct implicitly stored in sock->file.
* Note that another thread may close file descriptor before we return
* Note that another thread may close file descriptor before we return
* from this function. We use the fact that now we do not refer
* from this function. We use the fact that now we do not refer
* to socket after mapping. If one day we will need it, this
* to socket after mapping. If one day we will need it, this
* function will in
in
crement ref. count on file by 1.
* function will increment ref. count on file by 1.
*
*
* In any case returned fd MAY BE not valid!
* In any case returned fd MAY BE not valid!
* This race condition is
i
navoidable
* This race condition is
u
navoidable
* with shared fd spaces, we cannot solve i
s
inside kernel,
* with shared fd spaces, we cannot solve i
t
inside kernel,
* but we take care of internal coherence yet.
* but we take care of internal coherence yet.
*/
*/
...
...
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