off by one in sdla_close()
From: Dan Carpenter <hidden>
Date: 2010-01-03 10:04:23
From: Dan Carpenter <hidden>
Date: 2010-01-03 10:04:23
drivers/net/wan/sdla.c 955 for(i=0;i<CONFIG_DLCI_MAX;i++) 956 if (flp->dlci[i] > 0) 957 sdla_cmd(dev, SDLA_DEACTIVATE_DLCI, 0, 0, dlcis, len, NULL, NULL); 958 sdla_cmd(dev, SDLA_DELETE_DLCI, 0, 0, &flp->dlci[i], sizeof(flp->dlci[i]), NULL, NULL); At the end of the for loop i == CONFIG_DLCI_MAX which is too high. regards, dan carpenter