ip_output() no longer frees pbuf in case no route could be found.
This commit is contained in:
@@ -642,7 +642,6 @@ ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
|
||||
#ifdef IP_STATS
|
||||
++stats.ip.rterr;
|
||||
#endif /* IP_STATS */
|
||||
pbuf_free(p);
|
||||
return ERR_RTE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user