android_kernel_samsung_univ.../include/net
Eric Dumazet d6bf781712 net neigh: RCU conversion of neigh hash table
David

This is the first step for RCU conversion of neigh code.

Next patches will convert hash_buckets[] and "struct neighbour" to RCU
protected objects.

Thanks

[PATCH net-next] net neigh: RCU conversion of neigh hash table

Instead of storing hash_buckets, hash_mask and hash_rnd in "struct
neigh_table", a new structure is defined :

struct neigh_hash_table {
       struct neighbour        **hash_buckets;
       unsigned int            hash_mask;
       __u32                   hash_rnd;
       struct rcu_head         rcu;
};

And "struct neigh_table" has an RCU protected pointer to such a
neigh_hash_table.

This means the signature of (*hash)() function changed: We need to add a
third parameter with the actual hash_rnd value, since this is not
anymore a neigh_table field.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-05 14:54:36 -07:00
..
9p
bluetooth net: return operator cleanup 2010-09-23 14:33:39 -07:00
caif
irda net: return operator cleanup 2010-09-23 14:33:39 -07:00
iucv
netfilter
netns
phonet Phonet: Implement Pipe Controller to support Nokia Slim Modems 2010-09-27 21:30:41 -07:00
sctp net: return operator cleanup 2010-09-23 14:33:39 -07:00
tc_act
tipc net: return operator cleanup 2010-09-23 14:33:39 -07:00
act_api.h
addrconf.h ipv6: make __ipv6_isatap_ifid static 2010-10-05 00:47:39 -07:00
af_ieee802154.h
af_rxrpc.h
af_unix.h
ah.h
arp.h arp: remove unnecessary export of arp_broken_ops 2010-09-29 19:45:35 -07:00
atmclip.h
ax25.h
ax88796.h
cfg80211.h include/net/cfg80211.h: wiphy_<level> messages use dev_printk 2010-09-16 15:19:44 -04:00
checksum.h
cipso_ipv4.h
cls_cgroup.h cls_cgroup: Fix rcu lockdep warning 2010-09-03 09:55:24 -07:00
compat.h
datalink.h
dcbnl.h
dn_dev.h
dn_fib.h
dn_neigh.h
dn_nsp.h
dn_route.h
dn.h
dsa.h
dsfield.h
dst_ops.h
dst.h net: introduce DST_NOCACHE flag 2010-10-03 22:17:54 -07:00
esp.h
ethoc.h
fib_rules.h fib: fib_rules_cleanup can be static 2010-10-05 00:47:39 -07:00
flow.h ipv4: Allow configuring subnets as local addresses 2010-09-28 23:38:15 -07:00
garp.h
gen_stats.h
genetlink.h
gre.h
icmp.h
ieee80211_radiotap.h
ieee802154_netdev.h
ieee802154.h
if_inet6.h
inet_common.h
inet_connection_sock.h
inet_ecn.h net: return operator cleanup 2010-09-23 14:33:39 -07:00
inet_frag.h
inet_hashtables.h
inet_sock.h
inet_timewait_sock.h
inet6_connection_sock.h
inet6_hashtables.h
inetpeer.h
ip_fib.h
ip_vs.h ipvs: fix active FTP 2010-09-08 10:39:57 -07:00
ip.h net: return operator cleanup 2010-09-23 14:33:39 -07:00
ip6_checksum.h
ip6_fib.h
ip6_route.h
ip6_tunnel.h
ipcomp.h
ipconfig.h
ipip.h tunnels: prepare percpu accounting 2010-09-27 21:30:42 -07:00
ipv6.h net: return operator cleanup 2010-09-23 14:33:39 -07:00
ipx.h
iw_handler.h
lapb.h
lib80211.h
llc_c_ac.h
llc_c_ev.h
llc_c_st.h
llc_conn.h
llc_if.h
llc_pdu.h
llc_s_ac.h
llc_s_ev.h
llc_s_st.h
llc_sap.h
llc.h
mac80211.h mac80211: move packet flags into packet 2010-09-27 15:57:54 -04:00
mip6.h
mld.h
ndisc.h
neighbour.h net neigh: RCU conversion of neigh hash table 2010-10-05 14:54:36 -07:00
net_namespace.h
netdma.h
netevent.h
netlabel.h
netlink.h
netrom.h
nexthop.h
nl802154.h
p8022.h
pkt_cls.h
pkt_sched.h
protocol.h
psnap.h
raw.h include/net/raw.h: Convert raw_seq_private macro to inline 2010-09-08 13:42:22 -07:00
rawv6.h
red.h
regulatory.h
request_sock.h
rose.h
route.h tproxy: check for transparent flag in ip_route_newports 2010-09-27 15:03:33 -07:00
rtnetlink.h
sch_generic.h net: return operator cleanup 2010-09-23 14:33:39 -07:00
scm.h
slhc_vj.h
snmp.h
sock.h net: update SOCK_MIN_RCVBUF 2010-09-26 18:53:07 -07:00
stp.h
tcp_states.h
tcp.h tcp: tcp_enter_quickack_mode can be static 2010-09-29 19:45:36 -07:00
timewait_sock.h
transp_v6.h
udp.h udp: add rehash on connect() 2010-09-08 21:45:01 -07:00
udplite.h
wext.h
wimax.h
wpan-phy.h
x25.h
x25device.h
xfrm.h xfrm: Allow different selector family in temporary state 2010-09-20 11:11:38 -07:00