[ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker <martin_whitaker...
authorChas Williams <chas@cmf.nrl.navy.mil>
Tue, 19 Jul 2005 20:54:44 +0000 (13:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2005 20:54:44 +0000 (13:54 -0700)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/svc.c

index 02f5374a51f2aac8e8ae98879996f6d3dff8a382..08e46052a3e4a896714254fce4a6c46702152d7c 100644 (file)
@@ -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;