diff options
-rw-r--r-- | net/appletalk/ddp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index 3e0671df3a3..d6a9243641a 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1571,14 +1571,10 @@ static int atalk_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr | |||
1571 | usat->sat_family != AF_APPLETALK) | 1571 | usat->sat_family != AF_APPLETALK) |
1572 | return -EINVAL; | 1572 | return -EINVAL; |
1573 | 1573 | ||
1574 | /* netatalk doesn't implement this check */ | 1574 | /* netatalk didn't implement this check */ |
1575 | if (usat->sat_addr.s_node == ATADDR_BCAST && | 1575 | if (usat->sat_addr.s_node == ATADDR_BCAST && |
1576 | !sock_flag(sk, SOCK_BROADCAST)) { | 1576 | !sock_flag(sk, SOCK_BROADCAST)) { |
1577 | printk(KERN_INFO "SO_BROADCAST: Fix your netatalk as " | ||
1578 | "it will break before 2.2\n"); | ||
1579 | #if 0 | ||
1580 | return -EPERM; | 1577 | return -EPERM; |
1581 | #endif | ||
1582 | } | 1578 | } |
1583 | } else { | 1579 | } else { |
1584 | if (sk->sk_state != TCP_ESTABLISHED) | 1580 | if (sk->sk_state != TCP_ESTABLISHED) |