zephyr/subsys
Ravi kumar Veeramally f361859fde net: ipv6: Fix IPv6 neighbor table
This patch fixes following issues.

  * If IPv6 neighbor table is full, stack can not add any new
    neighbors. So stale counter is introduced. Whenever neighbor
    enters into STALE state, stale counter will be incremented
    by one. When table is full and if stack wants to add new
    neighbor, oldest neighbor in STALE state will be removed
    and new neighbor will be added.

  * When neighbor is in PROBE state and when it exceeds max
    number of PROBEs, only neighbor with router is removed.
    As per RFC 4861 Appendix C, entry can be discarded. Now
    neighbor will be removed from the table.

  * Reachability timer has an issue. e.g. if a first entry timer
    is 10 seconds, after 3 seconds, a new entry added with
    only 3 seconds. But current implementation does not check
    whether remaining time of current left over timeout is more
    than new entry timeout or not. In this example, when new entry
    timeout is 3 seconds, left over timeout from first etnry is
    still 7 seconds. If k_delayed_work_remaining_get() returns
    some value then new entry time out was not considered.
    Which is bad. It fixed now.

  * nbr_free is used sometimes to remove the neighbor. Which does
    not remove route if that particulat neighbor is route to some
    other neighbor. net_ipv6_nbr_rm() should be used in such places.

  * Trivial changes which does not affect functionality.

Fixes #14063

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2019-03-25 22:49:52 -04:00
..
bluetooth shell: fix command bt scan 2019-03-25 20:38:35 +02:00
console console: tty: Remove dependency on older "consoles" 2019-02-28 16:57:50 -08:00
cpp c++: kconfig: EXCEPTIONS needs to depend on NEWLIB_LIBC 2018-11-28 13:51:35 -08:00
debug doc: prepare for improving doc API linking 2019-03-15 05:47:19 +01:00
dfu kconfig: subsys: dfu: Remove redundant IMG_MANAGER dep. 2019-03-09 10:03:45 -05:00
disk include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
fb shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00
fs tests: subsys: fs : Fix coverity issue 2019-03-14 14:20:45 +01:00
jwt jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
logging log: net: Fix the immediate logging mode in network backend 2019-03-20 11:38:29 -05:00
mgmt shell: removing legacy shell 2019-01-16 21:35:36 -05:00
net net: ipv6: Fix IPv6 neighbor table 2019-03-25 22:49:52 -04:00
power power: Add device idle power management support 2019-03-14 14:26:15 +01:00
random subsys: random: xoroshiro128: Use entropy get isr during init 2018-09-05 13:04:20 -04:00
settings settings: Fix check for duplicate when new value is smaller 2019-03-23 22:47:00 +02:00
shell shell: Fix compile error when shell enabled and log disabled 2019-03-25 22:45:08 -04:00
stats stats: move from misc to subsys/stats 2018-11-12 08:01:15 -05:00
storage storage/flash_map: API for get driver belongs to the flash_area. 2019-03-19 17:11:52 +01:00
testsuite all: Update reserved function names 2019-03-11 13:48:42 -04:00
usb usb: cdc_acm: Make ring buffer size configurable 2019-03-25 12:03:15 +01:00
CMakeLists.txt userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00