mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Note that when ip_output() is called from ip_forward(), it will already
have its options inserted, so the opt argument to ip_output() must be NULL.
This commit is contained in:
parent
eecfe773aa
commit
3de758d3e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121972
@ -126,6 +126,8 @@ extern struct protosw inetsw[];
|
||||
* header (with len, off, ttl, proto, tos, src, dst).
|
||||
* The mbuf chain containing the packet will be freed.
|
||||
* The mbuf opt, if present, will not be freed.
|
||||
* In the IP forwarding case, the packet will arrive with options already
|
||||
* inserted, so must have a NULL opt pointer.
|
||||
*/
|
||||
int
|
||||
ip_output(struct mbuf *m0, struct mbuf *opt, struct route *ro,
|
||||
|
Loading…
Reference in New Issue
Block a user