Home
last modified time | relevance | path

Searched hist:eb7e2a1e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/batman-adv/
H A Dtranslation-table.ceb7e2a1e Wed Oct 12 07:54:50 CDT 2011 Antonio Quartulli <ordex@autistici.org> batman-adv: use orig_hash_find() instead of get_orig_node() in TT code

get_orig_node() tries to retrieve an orig_node object based on a mac address
and creates it if not present. This is not the wanted behaviour in the
translation table code as we don't want to create new orig_code objects but
expect a NULL pointer if the object does not exist.

Reported-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
eb7e2a1e Wed Oct 12 07:54:50 CDT 2011 Antonio Quartulli <ordex@autistici.org> batman-adv: use orig_hash_find() instead of get_orig_node() in TT code

get_orig_node() tries to retrieve an orig_node object based on a mac address
and creates it if not present. This is not the wanted behaviour in the
translation table code as we don't want to create new orig_code objects but
expect a NULL pointer if the object does not exist.

Reported-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>