Re: [PATCH net] net: net_enable_timestamp() can be called from irq contexts

2017-03-02 Thread David Miller
From: Eric Dumazet Date: Wed, 01 Mar 2017 14:28:39 -0800 > From: Eric Dumazet > > It is now very clear that silly TCP listeners might play with > enabling/disabling timestamping while new children are added > to their accept queue. > > Meaning net_enable_timestamp() can be called from BH conte

[PATCH net] net: net_enable_timestamp() can be called from irq contexts

2017-03-01 Thread Eric Dumazet
From: Eric Dumazet It is now very clear that silly TCP listeners might play with enabling/disabling timestamping while new children are added to their accept queue. Meaning net_enable_timestamp() can be called from BH context while current state of the static key is not enabled. Lets play safe