Jesper Skriver 58e9b41722 Only call in_pcbnotify if the src port number != 0, as we
treat 0 as a wildcard in src/sys/in_pbc.c:in_pcbnotify()

It's sufficient to check for src|local port, as we'll have no
sessions with src|local port == 0

Without this a attacker sending ICMP messages, where the attached
IP header (+ 8 bytes) has the address and port numbers == 0, would
have the ICMP message applied to all sessions.

PR:		kern/25195
Submitted by:	originally by jesper, reimplimented by jlemon's advice
Reviewed by:	jlemon
Approved by:	jlemon
2001-02-20 23:25:04 +00:00
..
2000-10-07 23:15:17 +00:00
2001-02-04 14:26:56 +00:00
2000-05-01 20:32:07 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2001-02-04 14:26:56 +00:00
2000-10-26 12:33:42 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2001-02-15 22:32:06 +00:00
2000-08-13 04:31:06 +00:00
2001-02-06 11:21:58 +00:00
2001-02-04 15:25:15 +00:00
2001-02-04 14:26:56 +00:00
2000-05-24 04:21:35 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
2000-10-26 12:33:42 +00:00
1999-12-22 19:13:38 +00:00
2001-02-04 14:26:56 +00:00
2001-02-04 14:26:56 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00