All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] net/xfrm/xfrm_user.c 2.6.17-rc2-git5
@ 2006-04-24  4:31 Anne Thrax
  0 siblings, 0 replies; only message in thread
From: Anne Thrax @ 2006-04-24  4:31 UTC (permalink / raw)
  To: kernel-janitors

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
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-24  4:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-24  4:31 [KJ] [PATCH] net/xfrm/xfrm_user.c 2.6.17-rc2-git5 Anne Thrax

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.