patch-2.1.120 linux/net/sched/cls_rsvp.h
Next file: linux/net/sched/sch_api.c
Previous file: linux/net/sched/cls_api.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Thu Aug 27 19:33:09 1998
-  Orig file: 
v2.1.119/linux/net/sched/cls_rsvp.h
-  Orig date: 
Tue Jun 23 10:01:31 1998
diff -u --recursive --new-file v2.1.119/linux/net/sched/cls_rsvp.h linux/net/sched/cls_rsvp.h
@@ -537,7 +537,7 @@
 	if (s == NULL)
 		goto errout;
 	memset(s, 0, sizeof(*s));
-	memcpy(s->dst, dst, sizeof(*dst));
+	memcpy(s->dst, dst, sizeof(s->dst));
 	s->dpi = pinfo->dpi;
 	s->protocol = pinfo->protocol;
 	s->tunnelid = pinfo->tunnelid;
@@ -590,7 +590,6 @@
 static int rsvp_dump(struct tcf_proto *tp, unsigned long fh,
 		     struct sk_buff *skb, struct tcmsg *t)
 {
-	struct rsvp_head *head = tp->root;
 	struct rsvp_filter *f = (struct rsvp_filter*)fh;
 	struct rsvp_session *s;
 	unsigned char	 *b = skb->tail;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov