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
4cf704fb
Commit
4cf704fb
authored
Jun 09, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/core/dev.c: Use frag list abstraction interfaces.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
5b1a002a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/core/dev.c
net/core/dev.c
+2
-2
No files found.
net/core/dev.c
View file @
4cf704fb
...
...
@@ -1820,7 +1820,7 @@ int dev_queue_xmit(struct sk_buff *skb)
if
(
netif_needs_gso
(
dev
,
skb
))
goto
gso
;
if
(
skb_
shinfo
(
skb
)
->
frag_list
&&
if
(
skb_
has_frags
(
skb
)
&&
!
(
dev
->
features
&
NETIF_F_FRAGLIST
)
&&
__skb_linearize
(
skb
))
goto
out_kfree_skb
;
...
...
@@ -2407,7 +2407,7 @@ int dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb)
if
(
!
(
skb
->
dev
->
features
&
NETIF_F_GRO
))
goto
normal
;
if
(
skb_is_gso
(
skb
)
||
skb_
shinfo
(
skb
)
->
frag_list
)
if
(
skb_is_gso
(
skb
)
||
skb_
has_frags
(
skb
)
)
goto
normal
;
rcu_read_lock
();
...
...
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