: Fix typo causing wrong skb to be freed
Subsystems (2)
A typo introduced by myself which leads to freeing the skb containing the netlink message when it should free the newly allocated skb for the reply.
Signed-off-by Thomas Graf <[email protected]>
net/core/rtnetlink.c +1 -1
@@ -596,7 +596,7 @@ err =rtnl_fill_ifinfo (nskb, dev, iw, iw_buf_len,RTM_NEWLINK ,NETLINK_CB (skb).pid, nlh->nlmsg_seq,0 ,0 );if (err <=0 ) { -kfree_skb (skb); +kfree_skb (nskb); goto errout; }
From: Thomas Graf <[email protected]>
Date: Thu, 31 Aug 2006 23:26:51 +0200
Quoted 5 lines
A typo introduced by myself which leads to freeing the skb containing the netlink message when it should free the newly allocated skb for the reply.
Signed-off-by Thomas Graf <[email protected]>
Applied, thanks Thomas.