Change the wording of the inline comments from the previous commit.

Objection from:	ru
This commit is contained in:
cjc 2002-02-27 13:52:06 +00:00
parent d56a374cac
commit 822f4e8381
2 changed files with 6 additions and 16 deletions

View File

@ -799,14 +799,9 @@ findpcb:
/*
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
*
* It is possible for a malicious (or misconfigured)
* attacker to send unicast link-layer packets with a
* broadcast IP address. Use in_broadcast() to find them.
* (This check was erroneously removed in CSRG revision
* 7.35.)
*
* Packets with a multicast source address should also
* be discarded.
* Note that it is quite possible to receive unicast
* link-layer packets with a broadcast IP address. Use
* in_broadcast() to find them.
*/
if (m->m_flags & (M_BCAST|M_MCAST))
goto drop;

View File

@ -799,14 +799,9 @@ findpcb:
/*
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
*
* It is possible for a malicious (or misconfigured)
* attacker to send unicast link-layer packets with a
* broadcast IP address. Use in_broadcast() to find them.
* (This check was erroneously removed in CSRG revision
* 7.35.)
*
* Packets with a multicast source address should also
* be discarded.
* Note that it is quite possible to receive unicast
* link-layer packets with a broadcast IP address. Use
* in_broadcast() to find them.
*/
if (m->m_flags & (M_BCAST|M_MCAST))
goto drop;