projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IPV4] SNMP: Support OutMcastPkts and OutBcastPkts
[powerpc.git]
/
net
/
ipv4
/
multipath_rr.c
diff --git
a/net/ipv4/multipath_rr.c
b/net/ipv4/multipath_rr.c
index
061b6b2
..
0ad2252
100644
(file)
--- a/
net/ipv4/multipath_rr.c
+++ b/
net/ipv4/multipath_rr.c
@@
-12,11
+12,9
@@
* 2 of the License, or (at your option) any later version.
*/
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <linux/types.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <linux/types.h>
-#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/timer.h>
#include <linux/mm.h>
@@
-31,6
+29,7
@@
#include <linux/igmp.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/igmp.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
+#include <linux/module.h>
#include <linux/mroute.h>
#include <linux/init.h>
#include <net/ip.h>
#include <linux/mroute.h>
#include <linux/init.h>
#include <net/ip.h>
@@
-58,7
+57,7
@@
static void rr_select_route(const struct flowi *flp,
*/
result = NULL;
for (nh = rcu_dereference(first); nh;
*/
result = NULL;
for (nh = rcu_dereference(first); nh;
- nh = rcu_dereference(nh->u.rt_next)) {
+ nh = rcu_dereference(nh->u.
dst.
rt_next)) {
if ((nh->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&nh->fl, flp)) {
nh->u.dst.lastuse = jiffies;
if ((nh->u.dst.flags & DST_BALANCED) != 0 &&
multipath_comparekeys(&nh->fl, flp)) {
nh->u.dst.lastuse = jiffies;
@@
-93,3
+92,4
@@
static void __exit rr_exit(void)
module_init(rr_init);
module_exit(rr_exit);
module_init(rr_init);
module_exit(rr_exit);
+MODULE_LICENSE("GPL");