[NET]: Cleanup the error path in sk_attach_filter
commitd3904b739928edd83d117f1eb5bfa69f18d6f046
authorPavel Emelyanov <xemul@openvz.org>
Thu, 18 Oct 2007 04:22:17 +0000 (17 21:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 04:22:17 +0000 (17 21:22 -0700)
treee73ddcf5d45f11b3b37031b0fea67d17943ca46b
parent309dd5fc872448e35634d510049642312ebc170d
[NET]: Cleanup the error path in sk_attach_filter

The sk_filter_uncharge is called for error handling and
for releasing the former filter, but this will have to
be done in a bit different manner, so cleanup the error
path a bit.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c