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
nexedi
linux
Commits
4783c646
Commit
4783c646
authored
Jan 10, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix padding for 8139too
parent
27d0b52a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/net/8139too.c
drivers/net/8139too.c
+2
-0
No files found.
drivers/net/8139too.c
View file @
4783c646
...
...
@@ -1686,6 +1686,8 @@ static int rtl8139_start_xmit (struct sk_buff *skb, struct net_device *dev)
entry
=
tp
->
cur_tx
%
NUM_TX_DESC
;
if
(
likely
(
len
<
TX_BUF_SIZE
))
{
if
(
len
<
ETH_ZLEN
)
memset
(
tp
->
tx_buf
[
entry
],
0
,
ETH_ZLEN
);
skb_copy_and_csum_dev
(
skb
,
tp
->
tx_buf
[
entry
]);
dev_kfree_skb
(
skb
);
}
else
{
...
...
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