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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to