[SELINUX] 2/2 Remove duplicate assignment

From: James Morris
Date: Mon Apr 05 2004 - 08:54:48 EST


This patch removes a harmless duplicate assignment from the IPv6 code.

Please apply.


diff -urN -X dontdiff linux-2.6.5-mm1.p/security/selinux/hooks.c linux-2.6.5-mm1.w/security/selinux/hooks.c
--- linux-2.6.5-mm1.p/security/selinux/hooks.c 2004-04-05 09:20:26.000000000 -0400
+++ linux-2.6.5-mm1.w/security/selinux/hooks.c 2004-04-05 09:49:17.060382256 -0400
@@ -2712,7 +2712,7 @@
static int selinux_parse_skb_ipv6(struct sk_buff *skb, struct avc_audit_data *ad)
{
u8 nexthdr;
- int ret, offset = skb->nh.raw - skb->data;
+ int ret, offset;
struct ipv6hdr ipv6h;

offset = skb->nh.raw - skb->data;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/