diff options
| author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-03-10 05:57:34 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-03-11 00:29:48 +0400 |
| commit | 5812521be0f79583a26e203ac5f23de679cbdd94 (patch) | |
| tree | a57bf248f7ffba9d37e7999dc3b2c215df999cea /include/linux/timerqueue.h | |
| parent | 431a91242d8d7876d33ab91b1f3ccdcd56b14f66 (diff) | |
| download | linux-5812521be0f79583a26e203ac5f23de679cbdd94.tar.xz | |
net: add a pre-check of net_ns in sk_change_net()
We do not need to switch the net_ns if the target net_ns the same
as the current one, so here we add a pre-check of net_ns to avoid
this as David suggested.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
