The NetBSD Project

CVS log for src/sys/netinet/ip_input.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / netinet

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-8-base


Revision 1.355 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:14 2017 UTC (3 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: netbsd-8-base, netbsd-8
Changes since 1.354: +2 -6 lines
Diff to previous 1.354 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>