mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-08 13:28:05 +00:00
Change the wording of the inline comments from the previous commit.
Objection from: ru
This commit is contained in:
parent
ffddaaeeeb
commit
93ec91ba6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91374
@ -799,14 +799,9 @@ tcp_input(m, off0)
|
|||||||
/*
|
/*
|
||||||
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
|
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
|
||||||
*
|
*
|
||||||
* It is possible for a malicious (or misconfigured)
|
* Note that it is quite possible to receive unicast
|
||||||
* attacker to send unicast link-layer packets with a
|
* link-layer packets with a broadcast IP address. Use
|
||||||
* broadcast IP address. Use in_broadcast() to find them.
|
* 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.
|
|
||||||
*/
|
*/
|
||||||
if (m->m_flags & (M_BCAST|M_MCAST))
|
if (m->m_flags & (M_BCAST|M_MCAST))
|
||||||
goto drop;
|
goto drop;
|
||||||
|
@ -799,14 +799,9 @@ tcp_input(m, off0)
|
|||||||
/*
|
/*
|
||||||
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
|
* RFC1122 4.2.3.10, p. 104: discard bcast/mcast SYN
|
||||||
*
|
*
|
||||||
* It is possible for a malicious (or misconfigured)
|
* Note that it is quite possible to receive unicast
|
||||||
* attacker to send unicast link-layer packets with a
|
* link-layer packets with a broadcast IP address. Use
|
||||||
* broadcast IP address. Use in_broadcast() to find them.
|
* 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.
|
|
||||||
*/
|
*/
|
||||||
if (m->m_flags & (M_BCAST|M_MCAST))
|
if (m->m_flags & (M_BCAST|M_MCAST))
|
||||||
goto drop;
|
goto drop;
|
||||||
|
Loading…
Reference in New Issue
Block a user