projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e97e98
)
ipv4: Kill RTO_CONN.
author
David S. Miller
<davem@davemloft.net>
Tue, 26 Apr 2011 21:58:35 +0000
(14:58 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 27 Apr 2011 20:59:05 +0000
(13:59 -0700)
It's not used by anything in the kernel, and defined in net/route.h so
never exported to userspace.
Therefore we can safely remove it.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/route.h
b/include/net/route.h
index 79530da31b342f978312fff76e619c17dca2d69d..fdbdb9271d7fb322a2942f9ad17d2695fdda61c3 100644
(file)
--- a/
include/net/route.h
+++ b/
include/net/route.h
@@
-37,10
+37,6
@@
#define RTO_ONLINK 0x01
-#define RTO_CONN 0
-/* RTO_CONN is not used (being alias for 0), but preserved not to break
- * some modules referring to it. */
-
#define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
struct fib_nh;