diff options
| author | J.H.M. Dassen (Ray) <jdassen@debian.org> | 2008-05-08 04:11:04 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-05-08 04:11:04 -0400 |
| commit | c67fa02799bccca3d2e16582493da6d57812ec01 (patch) | |
| tree | 32aba17614a0bd36e4b36fc3e6672e9decdb7ddf | |
| parent | 62ab22278308a40bcb7f4079e9719ab8b7fe11b5 (diff) | |
net/ipv4: correct RFC 1122 section reference in comment
RFC 1122 does not have a section 3.1.2.2. The requirement to silently
discard datagrams with a bad checksum is in section 3.2.1.2 instead.
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10611
Signed-off-by: J.H.M. Dassen (Ray) <jdassen@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/ipv4/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 7b4bad6d572f..ff77a4a7f9ec 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
| @@ -397,7 +397,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, | |||
| 397 | iph = ip_hdr(skb); | 397 | iph = ip_hdr(skb); |
| 398 | 398 | ||
| 399 | /* | 399 | /* |
| 400 | * RFC1122: 3.1.2.2 MUST silently discard any IP frame that fails the checksum. | 400 | * RFC1122: 3.2.1.2 MUST silently discard any IP frame that fails the checksum. |
| 401 | * | 401 | * |
| 402 | * Is the datagram acceptable? | 402 | * Is the datagram acceptable? |
| 403 | * | 403 | * |
