diff --git a/net/atm/clip.c b/net/atm/clip.c index 294cb9efe3d3820046cd123caf7037eeb0dbe9c4..99a40406e78122e539ec0bc5277fc9201b980542 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c @@ -418,6 +418,8 @@ static int clip_mkip(struct atm_vcc *vcc, int timeout) if (!vcc->push) return -EBADFD; + if (vcc->user_back) + return -EINVAL; clip_vcc = kmalloc(sizeof(struct clip_vcc), GFP_KERNEL); if (!clip_vcc) return -ENOMEM;