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
e07ab90e
Commit
e07ab90e
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 ethernet padding on ni52
parent
1578e844
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/net/ni52.c
drivers/net/ni52.c
+5
-1
No files found.
drivers/net/ni52.c
View file @
e07ab90e
...
@@ -1169,7 +1169,11 @@ static int ni52_send_packet(struct sk_buff *skb, struct net_device *dev)
...
@@ -1169,7 +1169,11 @@ static int ni52_send_packet(struct sk_buff *skb, struct net_device *dev)
#endif
#endif
{
{
memcpy
((
char
*
)
p
->
xmit_cbuffs
[
p
->
xmit_count
],(
char
*
)(
skb
->
data
),
skb
->
len
);
memcpy
((
char
*
)
p
->
xmit_cbuffs
[
p
->
xmit_count
],(
char
*
)(
skb
->
data
),
skb
->
len
);
len
=
(
ETH_ZLEN
<
skb
->
len
)
?
skb
->
len
:
ETH_ZLEN
;
len
=
skb
->
len
;
if
(
len
<
ETH_ZLEN
)
{
len
=
ETH_ZLEN
;
memset
((
char
*
)
p
->
xmit_cbuffs
[
p
->
xmit_count
]
+
skb
->
len
,
0
,
len
-
skb
->
len
);
}
#if (NUM_XMIT_BUFFS == 1)
#if (NUM_XMIT_BUFFS == 1)
# ifdef NO_NOPCOMMANDS
# ifdef NO_NOPCOMMANDS
...
...
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