gtp: put back reference to netns when not required anymore
authorPablo Neira <pablo@netfilter.org>
Thu, 12 May 2016 15:16:31 +0000 (17:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2016 16:27:15 +0000 (12:27 -0400)
commit27ee441a43392ebe5b027fe5d78640e839673d21
tree2b845961ddc3d5af1964f2373b4f9f79361fb56e
parent7fd38193d0473acc6e8f108107d0466f07768853
gtp: put back reference to netns when not required anymore

This patch fixes a netns leak.

Fixes: 93edb8c7f94f ("gtp: reload GTPv1 header after pskb_may_pull()")
Reported-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c