Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e06e7c61 authored by David S. Miller's avatar David S. Miller
Browse files

[IPV4]: The scheduled removal of multipath cached routing support.



With help from Chris Wedgwood.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4eb6bf6b
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -262,25 +262,6 @@ Who: Richard Purdie <rpurdie@rpsys.net>

---------------------------

What:	Multipath cached routing support in ipv4
When:	in 2.6.23
Why:	Code was merged, then submitter immediately disappeared leaving
	us with no maintainer and lots of bugs.  The code should not have
	been merged in the first place, and many aspects of it's
	implementation are blocking more critical core networking
	development.  It's marked EXPERIMENTAL and no distribution
	enables it because it cause obscure crashes due to unfixable bugs
	(interfaces don't return errors so memory allocation can't be
	handled, calling contexts of these interfaces make handling
	errors impossible too because they get called after we've
	totally commited to creating a route object, for example).
	This problem has existed for years and no forward progress
	has ever been made, and nobody steps up to try and salvage
	this code, so we're going to finally just get rid of it.
Who:	David S. Miller <davem@davemloft.net>

---------------------------

What:	read_dev_chars(), read_conf_data{,_lpm}() (s390 common I/O layer)
When:	December 2007
Why:	These functions are a leftover from 2.4 times. They have several
+0 −1
Original line number Diff line number Diff line
@@ -91,7 +91,6 @@ header-y += in6.h
header-y += in_route.h
header-y += ioctl.h
header-y += ipmi_msgdefs.h
header-y += ip_mp_alg.h
header-y += ipsec.h
header-y += ipx.h
header-y += irda.h

include/linux/ip_mp_alg.h

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
/* ip_mp_alg.h: IPV4 multipath algorithm support, user-visible values.
 *
 * Copyright (C) 2004, 2005 Einar Lueck <elueck@de.ibm.com>
 * Copyright (C) 2005 David S. Miller <davem@davemloft.net>
 */

#ifndef _LINUX_IP_MP_ALG_H
#define _LINUX_IP_MP_ALG_H

enum ip_mp_alg {
	IP_MP_ALG_NONE,
	IP_MP_ALG_RR,
	IP_MP_ALG_DRR,
	IP_MP_ALG_RANDOM,
	IP_MP_ALG_WRANDOM,
	__IP_MP_ALG_MAX
};

#define IP_MP_ALG_MAX (__IP_MP_ALG_MAX - 1)

#endif /* _LINUX_IP_MP_ALG_H */
+1 −1
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ enum rtattr_type_t
	RTA_FLOW,
	RTA_CACHEINFO,
	RTA_SESSION,
	RTA_MP_ALGO,
	RTA_MP_ALGO, /* no longer used */
	RTA_TABLE,
	__RTA_MAX
};
+0 −1
Original line number Diff line number Diff line
@@ -47,7 +47,6 @@ struct dst_entry
#define DST_NOXFRM		2
#define DST_NOPOLICY		4
#define DST_NOHASH		8
#define DST_BALANCED            0x10
	unsigned long		expires;

	unsigned short		header_len;	/* more space at head required */
Loading