X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsched%2Fsch_atm.c;h=6e38ef0040b8e77a2393666eeabbeb6c519ac606;hb=46d263c26f840c64c0949ea62f8796729ade5aa8;hp=e25e49061a0d4370ee02f759ab37dc09f3083d03;hpb=b2f9452bd5234d573898bbda52a410b154f8f510;p=pandora-kernel.git diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c index e25e49061a0d..6e38ef0040b8 100644 --- a/net/sched/sch_atm.c +++ b/net/sched/sch_atm.c @@ -606,6 +606,7 @@ static int atm_tc_dump_class(struct Qdisc *sch, unsigned long cl, struct sockaddr_atmpvc pvc; int state; + memset(&pvc, 0, sizeof(pvc)); pvc.sap_family = AF_ATMPVC; pvc.sap_addr.itf = flow->vcc->dev ? flow->vcc->dev->number : -1; pvc.sap_addr.vpi = flow->vcc->vpi;