ipv6: use seq_release_private for ip6mr.c /proc entries
authorBenjamin Thery <benjamin.thery@bull.net>
Thu, 20 Nov 2008 12:16:12 +0000 (04:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:16:12 +0000 (04:16 -0800)
commiteedd726efbc439dbed94fb8577e5533a986b341f
tree5980fdeb7ad34e2cd3623fe8d3a477121c1e8dbb
parent3aa4614da741f10b09559a5675c79e2eff5cccd8
ipv6: use seq_release_private for ip6mr.c /proc entries

In ip6mr.c, /proc entries /proc/net/ip6_mr_cache and /proc/net/ip6_mr_vif
are opened with seq_open_private(), thus seq_release_private() should be
used to release them.
Should fix a small memory leak.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c