Andrey V. Elsukov 2f4ffa9f72 Fix possible NULL pointer dereference.
lagg(4) replaces if_output method of its child interfaces and expects
that this method can be called only by child interfaces. But it is
possible that lagg_port_output() could be called by children of child
interfaces. In this case ifnet's if_lagg field is NULL. Add check that
lp is not NULL.

Obtained from:	Yandex LLC
MFC after:	1 week
Sponsored by:	Yandex LLC
2020-11-11 15:53:36 +00:00
..
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2020-10-30 13:32:58 +00:00
2019-07-14 03:49:48 +00:00
2019-07-25 22:23:34 +00:00
2020-10-16 11:22:29 +00:00
2020-11-08 19:02:22 +00:00