]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r367594:
authorAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 18 Nov 2020 13:52:13 +0000 (13:52 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 18 Nov 2020 13:52:13 +0000 (13:52 +0000)
commit0ed76fcf2c8e89e8add57dbb0fb125dce834f7d0
treec5667d72795238b748412a4c99cb0630436be202
parenta6295daf345f116998c4695a522254fe19bf17c6
MFC r367594:
  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.
sys/net/if_lagg.c