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
4dccded3
Commit
4dccded3
authored
Sep 20, 2003
by
Amir Noam
Committed by
Stephen Hemminger
Sep 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] [bonding 2.6] Fix ipx_hdr compile error
parent
2378db68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_alb.c
+2
-4
No files found.
drivers/net/bonding/bond_alb.c
View file @
4dccded3
...
@@ -1329,16 +1329,15 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -1329,16 +1329,15 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
hash_size
=
16
;
hash_size
=
16
;
break
;
break
;
#ifdef FIXME
case
ETH_P_IPX
:
case
ETH_P_IPX
:
if
(
skb
->
nh
.
ipxh
->
ipx_checksum
!=
if
(
ipx_hdr
(
skb
)
->
ipx_checksum
!=
__constant_htons
(
IPX_NO_CHECKSUM
))
{
__constant_htons
(
IPX_NO_CHECKSUM
))
{
/* something is wrong with this packet */
/* something is wrong with this packet */
do_tx_balance
=
0
;
do_tx_balance
=
0
;
break
;
break
;
}
}
if
(
skb
->
nh
.
ipxh
->
ipx_type
!=
if
(
ipx_hdr
(
skb
)
->
ipx_type
!=
__constant_htons
(
IPX_TYPE_NCP
))
{
__constant_htons
(
IPX_TYPE_NCP
))
{
/* The only protocol worth balancing in
/* The only protocol worth balancing in
* this family since it has an "ARP" like
* this family since it has an "ARP" like
...
@@ -1351,7 +1350,6 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -1351,7 +1350,6 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
hash_start
=
(
char
*
)
eth_data
->
h_dest
;
hash_start
=
(
char
*
)
eth_data
->
h_dest
;
hash_size
=
ETH_ALEN
;
hash_size
=
ETH_ALEN
;
break
;
break
;
#endif
case
ETH_P_ARP
:
case
ETH_P_ARP
:
do_tx_balance
=
0
;
do_tx_balance
=
0
;
...
...
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