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
188f4af0
Commit
188f4af0
authored
Aug 16, 2006
by
Francois Romieu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r8169: use NETDEV_TX_{BUSY/OK}
Signed-off-by:
Francois Romieu
<
romieu@fr.zoreil.com
>
parent
bcf0bf90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/r8169.c
drivers/net/r8169.c
+2
-2
No files found.
drivers/net/r8169.c
View file @
188f4af0
...
...
@@ -2277,7 +2277,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
dma_addr_t
mapping
;
u32
status
,
len
;
u32
opts1
;
int
ret
=
0
;
int
ret
=
NETDEV_TX_OK
;
if
(
unlikely
(
TX_BUFFS_AVAIL
(
tp
)
<
skb_shinfo
(
skb
)
->
nr_frags
))
{
if
(
netif_msg_drv
(
tp
))
{
...
...
@@ -2342,7 +2342,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
err_stop:
netif_stop_queue
(
dev
);
ret
=
1
;
ret
=
NETDEV_TX_BUSY
;
err_update_stats:
tp
->
stats
.
tx_dropped
++
;
goto
out
;
...
...
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