* off by one in sdla_close()
@ 2010-01-03 10:04 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2010-01-03 10:04 UTC (permalink / raw)
To: Mike McLagan; +Cc: netdev
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-03 10:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-03 10:04 off by one in sdla_close() Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).