--- linux-2.6.24-rc5/net/rose/af_rose.c 2007-12-11 04:48:43.000000000 +0100 +++ b/net/rose/af_rose.c 2007-12-14 14:35:16.000000000 +0100 @@ -1148,7 +1148,7 @@ } #ifdef M_BIT -#define ROSE_PACLEN (256-ROSE_MIN_LEN) +#define ROSE_PACLEN (AX25_DEF_PACLEN-ROSE_MIN_LEN) if (skb->len - ROSE_MIN_LEN > ROSE_PACLEN) { unsigned char header[ROSE_MIN_LEN]; struct sk_buff *skbn;