From: Herbert Xu Date: Mon, 5 Feb 2007 07:33:10 +0000 (-0800) Subject: [PACKET]: Fix skb->cb clobbering between aux and sockaddr X-Git-Tag: v2.6.21-rc1~83^2~65^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbc61117d32dc4e768f999325ecfb2528d6b303;p=pandora-kernel.git [PACKET]: Fix skb->cb clobbering between aux and sockaddr Both aux data and sockaddr tries to use the same buffer which obviously doesn't work. We just happen to have 4 bytes free in the skb->cb if you take away the maximum length of sockaddr_ll. That's just enough to store the one piece of info from aux data that we can't generate at recvmsg(2) time. This is what the following patch does. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed