summaryrefslogtreecommitdiffstats
path: root/net/atm/svc.c
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2005-07-19 13:54:44 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-19 13:54:44 -0700
commit322361b3712af97c19ab730b410f9ae5d9aad4c3 (patch)
treef78cc2a5017cffbccdabefa11bf76c0ec34d3908 /net/atm/svc.c
parent43f51fce0a637e6cdf1285b0fa09b8398ff14834 (diff)
downloadop-kernel-dev-322361b3712af97c19ab730b410f9ae5d9aad4c3.zip
op-kernel-dev-322361b3712af97c19ab730b410f9ae5d9aad4c3.tar.gz
[ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker <martin_whitaker@ntlworld.com>)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/svc.c')
-rw-r--r--net/atm/svc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/atm/svc.c b/net/atm/svc.c
index 02f5374..08e4605 100644
--- a/net/atm/svc.c
+++ b/net/atm/svc.c
@@ -118,10 +118,6 @@ static int svc_bind(struct socket *sock,struct sockaddr *sockaddr,
goto out;
}
vcc = ATM_SD(sock);
- if (test_bit(ATM_VF_SESSION, &vcc->flags)) {
- error = -EINVAL;
- goto out;
- }
addr = (struct sockaddr_atmsvc *) sockaddr;
if (addr->sas_family != AF_ATMSVC) {
error = -EAFNOSUPPORT;
OpenPOWER on IntegriCloud