svn commit: r347006 - stable/12/sys/netinet
John Baldwin
jhb at FreeBSD.org
Wed May 1 21:54:22 UTC 2019
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)
More information about the svn-src-stable
mailing list