Commit:     9e8d6f8959c356d8294d45f11231331c3e1bcae6
Parent:     036b579b1146f52c51398f1ab663cf659094107d
Author:     maximilian attems <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 7 00:30:57 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 8 23:30:05 2008 -0800

    [IRDA]: irda_create() nuke user triggable printk
    easy to trigger as user with sfuzz.
    irda_create() is quiet on unknown sock->type,
    match this behaviour for SOCK_DGRAM unknown protocol
    Signed-off-by: maximilian attems <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/irda/af_irda.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index 48ce59a..d5e4dd7 100644
--- a/net/irda/af_irda.c
+++ b/net/irda/af_irda.c
@@ -1118,8 +1118,6 @@ static int irda_create(struct net *net, struct socket 
*sock, int protocol)
                        self->max_sdu_size_rx = TTP_SAR_UNBOUND;
-                       IRDA_ERROR("%s: protocol not supported!\n",
-                                  __FUNCTION__);
                        return -ESOCKTNOSUPPORT;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to