patch-2.4.8 linux/net/atm/common.c
Next file: linux/net/core/dev.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Aug 5 13:12:41 2001
- Orig file:
v2.4.7/linux/net/atm/common.c
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.7/linux/net/atm/common.c linux/net/atm/common.c
@@ -210,7 +210,7 @@
if ((vpi != ATM_VPI_UNSPEC && vpi != ATM_VPI_ANY &&
vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC &&
- vci != ATM_VCI_ANY && vci >> dev->ci_range.vci_bits))
+ vci != ATM_VCI_ANY && vci > dev->ci_range.vci_bits))
return -EINVAL;
if (vci > 0 && vci < ATM_NOT_RSV_VCI && !capable(CAP_NET_BIND_SERVICE))
return -EPERM;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)