summaryrefslogtreecommitdiffstats
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2012-05-17 08:00:25 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-17 21:49:51 +0200
commit1de5a71c3e6eae2fbf15e9a9e13a8fc269bb82bc (patch)
treeb28a39f932993a61855be0ffbd8844a7bddb645c /net/sched/act_csum.c
parentetherdevice: fix comments (diff)
downloadlinux-1de5a71c3e6eae2fbf15e9a9e13a8fc269bb82bc.tar.xz
linux-1de5a71c3e6eae2fbf15e9a9e13a8fc269bb82bc.zip
ipv6: correct the ipv6 option name - Pad0 to Pad1
The padding destination or hop-by-hop option is called Pad1 and not Pad0. See RFC2460 (4.2) or the IANA ipv6-parameters registry: http://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xml Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_csum.c')
-rw-r--r--net/sched/act_csum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c
index 882124ceb70c..2c8ad7c86e43 100644
--- a/net/sched/act_csum.c
+++ b/net/sched/act_csum.c
@@ -397,7 +397,7 @@ static int tcf_csum_ipv6_hopopts(struct ipv6_opt_hdr *ip6xh,
while (len > 1) {
switch (xh[off]) {
- case IPV6_TLV_PAD0:
+ case IPV6_TLV_PAD1:
optlen = 1;
break;
case IPV6_TLV_JUMBO: