[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150408.120958.1217271670558706137.davem@davemloft.net>
Date: Wed, 08 Apr 2015 12:09:58 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, rick.jones2@...com
Subject: Re: [PATCH net-next 1/2] ipv4: ip_tunnel: use net namespace from
rtable not socket
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Wed, 8 Apr 2015 17:01:22 +0200
> The socket parameter might legally be NULL, thus sock_net is sometimes
> causing a NULL pointer dereference. Using net_device pointer in dst_entry
> is more reliable.
>
> Fixes: b6a7719aedd7e5c ("ipv4: hash net ptr into fragmentation bucket selection")
> Reported-by: Rick Jones <rick.jones2@...com>
> Cc: Rick Jones <rick.jones2@...com>
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied.
--
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