svn commit: r345712 - head/sys/netinet

John Baldwin jhb at FreeBSD.org
Tue Sep 3 14:06:12 UTC 2019


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)




More information about the svn-src-all mailing list