diff options
| author | Saravanan K <saravanank@vmware.com> | 2019-03-25 06:23:17 -0700 |
|---|---|---|
| committer | Saravanan K <saravanank@vmware.com> | 2019-03-25 06:23:17 -0700 |
| commit | 9570f7378bb9e000fc4e98fa2f0ef6356af4a548 (patch) | |
| tree | e1abede84a5c038ec425bce9612717aef05977dc /zebra/zebra_errors.h | |
| parent | c1f026a7c4fbd51bd519b043470333ee305635d9 (diff) | |
ospfd: Remaining packet calculation while fragmenting lsu, ls-ack and ls-req
While fragmenting ospf ls packets, before appending the link state info,
wrong value is checked to see if current packet can fit in another ls info.
Because of this, when a lower mtu is configured, it couldn't fit in even 1
ls ack, which tries to send all the available ls ack in the list in loop.
This keeps allocating memory to send the packet and ends up putting the
packet buffer without ls-ack into deferred send que(ospf_ls_ack_send_delayed).
This infinite loop causes infinite memory being allocated in a loop causing
system to be unstable. This commit takes care of calculating the right value
to compare for checking oif this buffer can fit in more.
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'zebra/zebra_errors.h')
0 files changed, 0 insertions, 0 deletions
