[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130912.151855.2190474215627495241.davem@davemloft.net>
Date: Thu, 12 Sep 2013 15:18:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: honkiko@...il.com
Cc: vyasevic@...hat.com, eric.dumazet@...il.com,
netdev@...r.kernel.org, zhiguohong@...cent.com
Subject: Re: [PATCH net-next] fix NULL pointer dereference in
br_handle_frame
From: Hong Zhiguo <honkiko@...il.com>
Date: Thu, 12 Sep 2013 23:57:08 +0800
> @@ -60,7 +60,7 @@ static int br_pass_frame_up(struct sk_buff *skb)
> int br_handle_frame_finish(struct sk_buff *skb)
> {
> const unsigned char *dest = eth_hdr(skb)->h_dest;
> - struct net_bridge_port *p = br_port_get_rcu(skb->dev);
> + enet_bridge_port *p = rcu_dereference(skb->dev->rx_handler_data);
You did not even compile test this patch.
This is a good way to make people not want to review your work at all,
because if you don't care enough to even compile test your patch why
should other people care enough to look at it?
--
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