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
28a7c030
Commit
28a7c030
authored
Jun 18, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Add prefetch to skb_queue_walk.
parent
2c485362
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/linux/skbuff.h
include/linux/skbuff.h
+2
-2
No files found.
include/linux/skbuff.h
View file @
28a7c030
...
@@ -1154,9 +1154,9 @@ static inline void kunmap_skb_frag(void *vaddr)
...
@@ -1154,9 +1154,9 @@ static inline void kunmap_skb_frag(void *vaddr)
}
}
#define skb_queue_walk(queue, skb) \
#define skb_queue_walk(queue, skb) \
for (skb = (queue)->next
;
\
for (skb = (queue)->next
, prefetch(skb->next);
\
(skb != (struct sk_buff *)(queue)); \
(skb != (struct sk_buff *)(queue)); \
skb = skb->next)
skb = skb->next
, prefetch(skb->next)
)
extern
struct
sk_buff
*
skb_recv_datagram
(
struct
sock
*
sk
,
unsigned
flags
,
extern
struct
sk_buff
*
skb_recv_datagram
(
struct
sock
*
sk
,
unsigned
flags
,
...
...
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