kernel-hacking-2024-linux-s.../net/core
Thomas Graf 73417f617a [NET] fib_rules: Flush route cache after rule modifications
The results of FIB rules lookups are cached in the routing cache
except for IPv6 as no such cache exists. So far, it was the
responsibility of the user to flush the cache after modifying any
rules. This lead to many false bug reports due to misunderstanding
of this concept.

This patch automatically flushes the route cache after inserting
or deleting a rule.

Thanks to Muli Ben-Yehuda <muli@il.ibm.com> for catching a bug
in the previous patch.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:28:18 -07:00
..
datagram.c [UDP]: Clean up UDP-Lite receive checksum 2007-04-25 22:23:51 -07:00
dev.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
dev_mcast.c [NET]: make seq_operations const 2007-04-25 22:25:03 -07:00
dst.c
ethtool.c [NET] core: whitespace cleanup 2007-04-25 22:24:09 -07:00
fib_rules.c [NET] fib_rules: Flush route cache after rule modifications 2007-04-25 22:28:18 -07:00
filter.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
flow.c
gen_estimator.c
gen_stats.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
iovec.c
kmap_skb.h
link_watch.c
Makefile
neighbour.c [NEIGH]: Use rtnl registration interface 2007-04-25 22:27:06 -07:00
net-sysfs.c [NET] core: whitespace cleanup 2007-04-25 22:24:09 -07:00
netevent.c
netpoll.c [SK_BUFF]: Introduce udp_hdr(), remove skb->h.uh 2007-04-25 22:25:22 -07:00
pktgen.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
request_sock.c
rtnetlink.c [NETLINK]: Directly return -EINTR from netlink_dump_start() 2007-04-25 22:27:33 -07:00
scm.c
skbuff.c [NETFILTER]: nf_conntrack: don't use nfct in skb if conntrack is disabled 2007-04-25 22:27:44 -07:00
sock.c [NET]: make seq_operations const 2007-04-25 22:25:03 -07:00
stream.c
sysctl_net_core.c [NET]: Replace CONFIG_NET_DEBUG with sysctl. 2007-04-25 22:24:05 -07:00
user_dma.c
utils.c [NET]: New sysctls should use __read_mostly tags 2007-04-25 22:24:19 -07:00
wireless.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00