Skip to content

Commit

Permalink
ipv4: Kill RTO_CONN.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
davem330 committed Apr 27, 2011
1 parent 2e97e98 commit b678027
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/net/route.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b678027

Please sign in to comment.