Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
13142341
Commit
13142341
authored
Aug 26, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git
parents
3fd1bb9b
d4ef1608
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
drivers/net/tg3.c
drivers/net/tg3.c
+2
-4
net/ipv4/fib_trie.c
net/ipv4/fib_trie.c
+7
-7
No files found.
drivers/net/tg3.c
View file @
13142341
...
@@ -66,8 +66,8 @@
...
@@ -66,8 +66,8 @@
#define DRV_MODULE_NAME "tg3"
#define DRV_MODULE_NAME "tg3"
#define PFX DRV_MODULE_NAME ": "
#define PFX DRV_MODULE_NAME ": "
#define DRV_MODULE_VERSION "3.3
6
"
#define DRV_MODULE_VERSION "3.3
7
"
#define DRV_MODULE_RELDATE "August
19
, 2005"
#define DRV_MODULE_RELDATE "August
25
, 2005"
#define TG3_DEF_MAC_MODE 0
#define TG3_DEF_MAC_MODE 0
#define TG3_DEF_RX_MODE 0
#define TG3_DEF_RX_MODE 0
...
@@ -7865,8 +7865,6 @@ static int tg3_test_loopback(struct tg3 *tp)
...
@@ -7865,8 +7865,6 @@ static int tg3_test_loopback(struct tg3 *tp)
err
=
-
EIO
;
err
=
-
EIO
;
tg3_abort_hw
(
tp
,
1
);
tg3_reset_hw
(
tp
);
tg3_reset_hw
(
tp
);
mac_mode
=
(
tp
->
mac_mode
&
~
MAC_MODE_PORT_MODE_MASK
)
|
mac_mode
=
(
tp
->
mac_mode
&
~
MAC_MODE_PORT_MODE_MASK
)
|
...
...
net/ipv4/fib_trie.c
View file @
13142341
...
@@ -1333,9 +1333,9 @@ err:;
...
@@ -1333,9 +1333,9 @@ err:;
}
}
static
inline
int
check_leaf
(
struct
trie
*
t
,
struct
leaf
*
l
,
t_key
key
,
int
*
plen
,
const
struct
flowi
*
flp
,
static
inline
int
check_leaf
(
struct
trie
*
t
,
struct
leaf
*
l
,
t_key
key
,
int
*
plen
,
const
struct
flowi
*
flp
,
struct
fib_result
*
res
,
int
*
err
)
struct
fib_result
*
res
)
{
{
int
i
;
int
err
,
i
;
t_key
mask
;
t_key
mask
;
struct
leaf_info
*
li
;
struct
leaf_info
*
li
;
struct
hlist_head
*
hhead
=
&
l
->
list
;
struct
hlist_head
*
hhead
=
&
l
->
list
;
...
@@ -1348,18 +1348,18 @@ static inline int check_leaf(struct trie *t, struct leaf *l, t_key key, int *pl
...
@@ -1348,18 +1348,18 @@ static inline int check_leaf(struct trie *t, struct leaf *l, t_key key, int *pl
if
(
l
->
key
!=
(
key
&
mask
))
if
(
l
->
key
!=
(
key
&
mask
))
continue
;
continue
;
if
((
(
*
err
)
=
fib_semantic_match
(
&
li
->
falh
,
flp
,
res
,
l
->
key
,
mask
,
i
))
=
=
0
)
{
if
((
err
=
fib_semantic_match
(
&
li
->
falh
,
flp
,
res
,
l
->
key
,
mask
,
i
))
<
=
0
)
{
*
plen
=
i
;
*
plen
=
i
;
#ifdef CONFIG_IP_FIB_TRIE_STATS
#ifdef CONFIG_IP_FIB_TRIE_STATS
t
->
stats
.
semantic_match_passed
++
;
t
->
stats
.
semantic_match_passed
++
;
#endif
#endif
return
1
;
return
err
;
}
}
#ifdef CONFIG_IP_FIB_TRIE_STATS
#ifdef CONFIG_IP_FIB_TRIE_STATS
t
->
stats
.
semantic_match_miss
++
;
t
->
stats
.
semantic_match_miss
++
;
#endif
#endif
}
}
return
0
;
return
1
;
}
}
static
int
static
int
...
@@ -1386,7 +1386,7 @@ fn_trie_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result
...
@@ -1386,7 +1386,7 @@ fn_trie_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result
/* Just a leaf? */
/* Just a leaf? */
if
(
IS_LEAF
(
n
))
{
if
(
IS_LEAF
(
n
))
{
if
(
check_leaf
(
t
,
(
struct
leaf
*
)
n
,
key
,
&
plen
,
flp
,
res
,
&
ret
)
)
if
(
(
ret
=
check_leaf
(
t
,
(
struct
leaf
*
)
n
,
key
,
&
plen
,
flp
,
res
))
<=
0
)
goto
found
;
goto
found
;
goto
failed
;
goto
failed
;
}
}
...
@@ -1508,7 +1508,7 @@ fn_trie_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result
...
@@ -1508,7 +1508,7 @@ fn_trie_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result
continue
;
continue
;
}
}
if
(
IS_LEAF
(
n
))
{
if
(
IS_LEAF
(
n
))
{
if
(
check_leaf
(
t
,
(
struct
leaf
*
)
n
,
key
,
&
plen
,
flp
,
res
,
&
ret
)
)
if
(
(
ret
=
check_leaf
(
t
,
(
struct
leaf
*
)
n
,
key
,
&
plen
,
flp
,
res
))
<=
0
)
goto
found
;
goto
found
;
}
}
backtrace:
backtrace:
...
...
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