[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101005.203858.115928630.davem@davemloft.net>
Date: Tue, 05 Oct 2010 20:38:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, sjur.brandeland@...ricsson.com
Subject: Re: [PATCH] caif: fix two caif_connect() bugs
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 05 Oct 2010 10:42:08 +0200
> caif_connect() might dereference a netdevice after dev_put() it.
>
> It also doesnt check dev_get_by_index() return value and could
> dereference a NULL pointer.
>
> Fix it, using RCU to avoid taking a reference.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists