Skip to contentSkip to conversation

net/xfrm/xfrm_user.c 2.6.17-rc2-git5

PATCH New Anne Thrax 1 participant 1 message Apr 24, 2006 Kernel janitors

lore
Share & tools
lore

Anne Thrax

author
#0 lore raw

PATCH 1/1 net/xfrm/xfrm_user.c 2.6.17-rc2-git5

Replaced a kfree() with a kfree_skb() when freeing an sk_buff

--- /usr/src/linux-2.6.17-rc2-git5-orig/net/xfrm/xfrm_user.c

2006-04-23 16:47:55.000000000 -0500

+++ /usr/src/linux-2.6.17-rc2-git5/net/xfrm/xfrm_user.c 2006-04-23 23:29:18.000000000 -0500
@@ -1152,7 +1152,7 @@

         x = xfrm_state_lookup(&id->daddr, id->spi, id->proto, id->family);
         if (x = NULL) {
-               kfree(r_skb);
+               kfree_skb(r_skb);
                 return -ESRCH;
         }

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors