original_kernel/net/batman-adv
Antonio Quartulli 1a1f37d925 batman-adv: hash_add() has to discriminate on the return value
hash_add() returns 0 on success while returns -1 either on error and on
entry already present. The caller could use such information to select
its behaviour. For this reason it is useful that hash_add() returns -1
in case on error and returns 1 in case of entry already present.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2011-08-22 15:16:19 +02:00
..
Kconfig
Makefile
aggregation.c
aggregation.h
bat_debugfs.c
bat_debugfs.h
bat_sysfs.c
bat_sysfs.h
bitarray.c
bitarray.h
gateway_client.c
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c
hard-interface.h
hash.c
hash.h batman-adv: hash_add() has to discriminate on the return value 2011-08-22 15:16:19 +02:00
icmp_socket.c
icmp_socket.h
main.c
main.h
originator.c batman-adv: hash_add() has to discriminate on the return value 2011-08-22 15:16:19 +02:00
originator.h
packet.h batman-adv: keep local table consistency for further TT_RESPONSE 2011-07-07 18:49:26 +02:00
ring_buffer.c
ring_buffer.h
routing.c batman-adv: request the full table if tt_crc doesn't match 2011-07-07 18:49:26 +02:00
routing.h
send.c batman-adv: keep local table consistency for further TT_RESPONSE 2011-07-07 18:49:26 +02:00
send.h
soft-interface.c netdevice: Kill 'feature' test macros. 2011-07-12 12:28:58 -07:00
soft-interface.h
translation-table.c batman-adv: keep global table consistency in case of roaming 2011-07-07 18:49:26 +02:00
translation-table.h batman-adv: keep local table consistency for further TT_RESPONSE 2011-07-07 18:49:26 +02:00
types.h
unicast.c
unicast.h batman-adv: Calculate sizeof using variable insead of types 2011-05-30 07:39:33 +02:00
vis.c batman-adv: hash_add() has to discriminate on the return value 2011-08-22 15:16:19 +02:00
vis.h