Guest User

Untitled

a guest
Jan 23rd, 2018
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. batman-adv: fix tt_local_reset_flags() function
  2.  
  3. tt_local_num has to be increased only the when flag passed as argument is reset.
  4. Currently the couter of tt_local_entry structures (tt_local_num) is incremented
  5. each time the tt_local_reset_flags() is invoked causing the node to send wrong
  6. TT_REPONSE containing a copy of non-initialised memory thus corrupting other
  7. nodes global translation table and making higher level communication impossible.
  8. This is an important fix and need to be committed as soon as possible.
  9.  
  10. Reported-by: Junkeun Song <jun361@gmail.com>
  11. Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Add Comment
Please, Sign In to add comment