Herbert Xu ffbc61117d [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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-08 12:38:47 -08:00
..
2006-12-08 08:28:44 -08:00
2006-11-05 14:11:25 -08:00
2006-12-06 20:14:22 -08:00
2006-08-05 21:15:58 -07:00
2006-12-02 21:21:23 -08:00
2007-01-03 18:38:15 -08:00
2006-12-08 08:28:50 -08:00
2007-01-23 20:25:51 -08:00
2006-09-22 14:53:34 -07:00
2006-12-08 08:28:48 -08:00
2005-04-16 15:20:36 -07:00