Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

do not specify M_WAITOK during the output process.

  • Loading branch information...
commit f3d6f8d58c13e357f2be12d3ffad873c887785fb 1 parent 78c064b
keiichi authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 kame/sys/netinet6/ip6_output.c
4 kame/sys/netinet6/ip6_output.c
... ... @@ -1,4 +1,4 @@
1   -/* $KAME: ip6_output.c,v 1.471 2005/06/21 10:53:02 keiichi Exp $ */
  1 +/* $KAME: ip6_output.c,v 1.472 2005/07/08 03:24:54 keiichi Exp $ */
2 2
3 3 /*
4 4 * Copyright (c) 2002 INRIA. All rights reserved.
@@ -4743,7 +4743,7 @@ ip6_setpktopt(optname, buf, len, opt, priv, sticky, cmsg, uproto)
4743 4743 bcopy(rth, opt->ip6po_rthdr, rthlen);
4744 4744 #ifdef MIP6
4745 4745 } else if (rth->ip6r_type == IPV6_RTHDR_TYPE_2) {
4746   - opt->ip6po_rthdr2 = malloc(rthlen, M_IP6OPT, M_WAITOK);
  4746 + opt->ip6po_rthdr2 = malloc(rthlen, M_IP6OPT, M_NOWAIT);
4747 4747 if (opt->ip6po_rthdr2 == NULL)
4748 4748 return (ENOBUFS);
4749 4749 bcopy(rth, opt->ip6po_rthdr2, rthlen);

0 comments on commit f3d6f8d

Please sign in to comment.
Something went wrong with that request. Please try again.