Date: Wed, 1 May 2019 21:54:21 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r347006 - stable/12/sys/netinet Message-ID: <201905012154.x41LsLEx079789@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed May 1 21:54:21 2019 New Revision: 347006 URL: https://svnweb.freebsd.org/changeset/base/347006 Log: MFC 345712: Don't check the inp socket pointer in in_pcboutput_eagain. Modified: stable/12/sys/netinet/in_pcb.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/netinet/in_pcb.c ============================================================================== --- stable/12/sys/netinet/in_pcb.c Wed May 1 21:45:15 2019 (r347005) +++ stable/12/sys/netinet/in_pcb.c Wed May 1 21:54:21 2019 (r347006) @@ -3398,14 +3398,9 @@ in_pcboutput_txrtlmt(struct inpcb *inp, struct ifnet * void in_pcboutput_eagain(struct inpcb *inp) { - struct socket *socket; bool did_upgrade; if (inp == NULL) - return; - - socket = inp->inp_socket; - if (socket == NULL) return; if (inp->inp_snd_tag == NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905012154.x41LsLEx079789>