Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4402
b: refs/heads/master
c: 4c866aa
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Kuznetsov authored and David S. Miller committed Jul 9, 2005
1 parent 3dfa7ef commit 8daf07c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86a76caf8705e3524e15f343f3c4806939a06dc8
refs/heads/master: 4c866aa798bc6de0a1d45495229e9f13c35b55c2
3 changes: 2 additions & 1 deletion trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,8 @@ int icmp_rcv(struct sk_buff *skb)
* RFC 1122: 3.2.2.8 An ICMP_TIMESTAMP MAY be silently
* discarded if to broadcast/multicast.
*/
if (icmph->type == ICMP_ECHO &&
if ((icmph->type == ICMP_ECHO ||
icmph->type == ICMP_TIMESTAMP) &&
sysctl_icmp_echo_ignore_broadcasts) {
goto error;
}
Expand Down

0 comments on commit 8daf07c

Please sign in to comment.