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
95f6b3dd
Commit
95f6b3dd
authored
Aug 29, 2014
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: Have xmit_list() signal more==true when appropriate.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
fa2dbdc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
net/core/dev.c
net/core/dev.c
+4
-4
No files found.
net/core/dev.c
View file @
95f6b3dd
...
...
@@ -2600,7 +2600,7 @@ netdev_features_t netif_skb_features(struct sk_buff *skb)
EXPORT_SYMBOL
(
netif_skb_features
);
static
int
xmit_one
(
struct
sk_buff
*
skb
,
struct
net_device
*
dev
,
struct
netdev_queue
*
txq
)
struct
netdev_queue
*
txq
,
bool
more
)
{
unsigned
int
len
;
int
rc
;
...
...
@@ -2610,7 +2610,7 @@ static int xmit_one(struct sk_buff *skb, struct net_device *dev,
len
=
skb
->
len
;
trace_net_dev_start_xmit
(
skb
,
dev
);
rc
=
netdev_start_xmit
(
skb
,
dev
,
txq
,
fals
e
);
rc
=
netdev_start_xmit
(
skb
,
dev
,
txq
,
mor
e
);
trace_net_dev_xmit
(
skb
,
rc
,
dev
,
len
);
return
rc
;
...
...
@@ -2626,7 +2626,7 @@ static struct sk_buff *xmit_list(struct sk_buff *first, struct net_device *dev,
struct
sk_buff
*
next
=
skb
->
next
;
skb
->
next
=
NULL
;
rc
=
xmit_one
(
skb
,
dev
,
txq
);
rc
=
xmit_one
(
skb
,
dev
,
txq
,
next
!=
NULL
);
if
(
unlikely
(
!
dev_xmit_complete
(
rc
)))
{
skb
->
next
=
next
;
goto
out
;
...
...
@@ -2705,7 +2705,7 @@ int dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
}
}
return
xmit_one
(
skb
,
dev
,
txq
);
return
xmit_one
(
skb
,
dev
,
txq
,
false
);
}
gso:
...
...
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