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
6a4c8615
Commit
6a4c8615
authored
Jun 26, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Kill skb_linearize() and bogus feature flag settings in eth1394.c
parent
115f8aaa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/ieee1394/eth1394.c
drivers/ieee1394/eth1394.c
+1
-7
No files found.
drivers/ieee1394/eth1394.c
View file @
6a4c8615
...
@@ -390,7 +390,7 @@ static int ether1394_init_dev (struct net_device *dev)
...
@@ -390,7 +390,7 @@ static int ether1394_init_dev (struct net_device *dev)
/* Some constants */
/* Some constants */
dev
->
watchdog_timeo
=
ETHER1394_TIMEOUT
;
dev
->
watchdog_timeo
=
ETHER1394_TIMEOUT
;
dev
->
flags
=
IFF_BROADCAST
;
/* | IFF_MULTICAST someday */
dev
->
flags
=
IFF_BROADCAST
;
/* | IFF_MULTICAST someday */
dev
->
features
=
NETIF_F_
NO_CSUM
|
NETIF_F_SG
|
NETIF_F_HIGHDMA
|
NETIF_F_FRAGLIST
;
dev
->
features
=
NETIF_F_
HIGHDMA
;
dev
->
addr_len
=
ETH1394_ALEN
;
dev
->
addr_len
=
ETH1394_ALEN
;
dev
->
hard_header_len
=
ETH1394_HLEN
;
dev
->
hard_header_len
=
ETH1394_HLEN
;
dev
->
type
=
ARPHRD_IEEE1394
;
dev
->
type
=
ARPHRD_IEEE1394
;
...
@@ -1424,12 +1424,6 @@ static int ether1394_tx (struct sk_buff *skb, struct net_device *dev)
...
@@ -1424,12 +1424,6 @@ static int ether1394_tx (struct sk_buff *skb, struct net_device *dev)
struct
packet_task
*
ptask
;
struct
packet_task
*
ptask
;
struct
node_entry
*
ne
;
struct
node_entry
*
ne
;
if
(
skb_is_nonlinear
(
skb
))
{
ret
=
skb_linearize
(
skb
,
kmflags
);
if
(
ret
)
goto
fail
;
}
ptask
=
kmem_cache_alloc
(
packet_task_cache
,
kmflags
);
ptask
=
kmem_cache_alloc
(
packet_task_cache
,
kmflags
);
if
(
ptask
==
NULL
)
{
if
(
ptask
==
NULL
)
{
ret
=
-
ENOMEM
;
ret
=
-
ENOMEM
;
...
...
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