[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130121064326.GA30530@secunet.com>
Date: Mon, 21 Jan 2013 07:43:26 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Julian Anastasov <ja@....bg>
Cc: "Yurij M. Plotnikov" <Yurij.Plotnikov@...etlabs.ru>,
Ben Hutchings <bhutchings@...arflare.com>,
netdev@...r.kernel.org,
"Alexandra N. Kossovsky" <Alexandra.Kossovsky@...etlabs.ru>
Subject: Re: [RFC PATCH 1/3] ipv4: Invalidate the socket cached route on pmtu
events if possible
On Sat, Jan 19, 2013 at 02:54:04AM +0200, Julian Anastasov wrote:
> > +
> > +void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu)
> > +{
> > + const struct iphdr *iph = (const struct iphdr *) skb->data;
> > + struct flowi4 fl4;
> > + struct rtable *rt = (struct rtable *) __sk_dst_get(sk);
>
> I guess __sk_dst_get should be called after
> bh_lock_sock ?
Yes, absolutely. I'll fix it before I submit the patch.
Thanks for your review!
--
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