diff options
| author | Bosko Milekic <bmilekic@FreeBSD.org> | 2000-12-21 21:44:31 +0000 |
|---|---|---|
| committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2000-12-21 21:44:31 +0000 |
| commit | 2a0c503e7afc6498157c35173896688a147efb34 (patch) | |
| tree | b06b70c0a77fed3143ac7cd4a373e0881af4a5fd /sys/netinet | |
| parent | b3a120de36b969a34388149a816fd8b57317debe (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_output.c | 2 | ||||
| -rw-r--r-- | sys/netinet/raw_ip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 21cdc0c3287d..fb8669c0261d 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1115,7 +1115,7 @@ ip_ctloutput(so, sopt) error = EMSGSIZE; break; } - MGET(m, sopt->sopt_p ? M_WAIT : M_DONTWAIT, MT_HEADER); + MGET(m, sopt->sopt_p ? M_TRYWAIT : M_DONTWAIT, MT_HEADER); if (m == 0) { error = ENOBUFS; break; diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index e15ee4e67a6b..0342d391c067 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -195,7 +195,7 @@ rip_output(m, so, dst) m_freem(m); return(EMSGSIZE); } - M_PREPEND(m, sizeof(struct ip), M_WAIT); + M_PREPEND(m, sizeof(struct ip), M_TRYWAIT); ip = mtod(m, struct ip *); ip->ip_tos = 0; ip->ip_off = 0; |
