diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-10-12 12:54:50 (GMT) |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-11-20 12:08:32 (GMT) |
commit | eb7e2a1e20488f91c7007caa080b83b8e4222572 (patch) | |
tree | 8b3f1f04f96551a049edb3cfc3e299822b7c1bb4 /net/batman-adv/originator.h | |
parent | be7af5cf9cae5e088a9783ccd6e47469ce9d43f4 (diff) | |
download | linux-fsl-qoriq-eb7e2a1e20488f91c7007caa080b83b8e4222572.tar.xz |
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>
Diffstat (limited to 'net/batman-adv/originator.h')
0 files changed, 0 insertions, 0 deletions