[ovs-dev] [PATCH 1/2] vxlan: Use sk_release_kernel() instead of sock_release().

Jesse Gross jesse at nicira.com
Thu Dec 6 19:31:16 UTC 2012


On Thu, Dec 6, 2012 at 11:26 AM, Kyle Mestery (kmestery)
<kmestery at cisco.com> wrote:
> On Dec 6, 2012, at 1:11 PM, Jesse Gross <jesse at nicira.com> wrote:
>> A socket that is created using sock_create_kern() and then switched
>> to a namespace using sk_change_net() should be released using
>> sk_release_kernel() instead of sock_release().  This is because
>> sk_change_net() has already released a reference to the namespace
>> and we shouldn't try to release it again later.
>>
>> Cc: Kyle Mestery <kmestery at cisco.com>
>> Signed-off-by: Jesse Gross <jesse at nicira.com>
>
>
> Acked-by: Kyle Mestery <kmestery at cisco.com>

Both applied, thanks.



More information about the dev mailing list