Date: Fri, 29 Mar 2019 19:47:42 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345712 - head/sys/netinet Message-ID: <201903291947.x2TJlgJV021410@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Mar 29 19:47:42 2019 New Revision: 345712 URL: https://svnweb.freebsd.org/changeset/base/345712 Log: Don't check the inp socket pointer in in_pcboutput_eagain. Reviewed by: hps (by saying it was ok to be removed) MFC after: 1 month Sponsored by: Netflix Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c ============================================================================== --- head/sys/netinet/in_pcb.c Fri Mar 29 19:40:04 2019 (r345711) +++ head/sys/netinet/in_pcb.c Fri Mar 29 19:47:42 2019 (r345712) @@ -3397,14 +3397,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?201903291947.x2TJlgJV021410>