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: thorpej_scsipi


Revision 1.93.2.8 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:48 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.7: +9 -5 lines
Diff to previous 1.93.2.7 (colored) next main 1.94 (colored) to selected 1.93 (colored)

Sync with HEAD

Revision 1.93.2.7 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:31 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.6: +31 -1 lines
Diff to previous 1.93.2.6 (colored) to selected 1.93 (colored)

Sync with HEAD.

Revision 1.93.2.6 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:50 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.5: +24 -2 lines
Diff to previous 1.93.2.5 (colored) to selected 1.93 (colored)

Sync with HEAD.

Revision 1.93.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:14 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.4: +18 -7 lines
Diff to previous 1.93.2.4 (colored) to selected 1.93 (colored)

Sync with HEAD.

Revision 1.93.2.4 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:55 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.3: +10 -2 lines
Diff to previous 1.93.2.3 (colored) to selected 1.93 (colored)

Sync with HEAD

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:18:42 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.2: +2 -1 lines
Diff to previous 1.93.2.2 (colored) to selected 1.93 (colored)

Sync with HEAD.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:10 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93.2.1: +31 -27 lines
Diff to previous 1.93.2.1 (colored) to selected 1.93 (colored)

Sync with HEAD.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:10:29 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.93: +180 -79 lines
Diff to previous 1.93 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.93 / (download) - annotate - [selected], Sun Oct 17 16:00:00 1999 UTC (24 years, 5 months ago) by sommerfeld
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

In ip_forward():

Avoid forwarding ip unicast packets which were contained inside
link-level multicast packets; having M_MCAST still set in the packet
header flags will mean that the packet will get multicast to a bogus
group instead of unicast to the next hop.

Malformed packets like this have occasionally been spotted "in the
wild" on a mediaone cable modem segment which also had multiple netbsd
machines running as router/NAT boxes.

Without this, any subnet with multiple netbsd routers receiving all
multicasts will generate a packet storm on receipt of such a
multicast.  Note that we already do the same check here for link-level
broadcasts; ip6_forward already does this as well.

Note that multicast forwarding does not go through ip_forward().

Adding some code to if_ethersubr to sanity check link-level
vs. ip-level multicast addresses might also be worthwhile.

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>