Compile fix for current 2.5 BK.

Compile fix for current 2.5 BK.

Post by Patrick Ma » Mon, 14 Oct 2002 15:20:07



Hallo,

I need the patch below to make the scsi subsystem compile on
my machine. It's against a bk 2.5 snapshot of today.

Please apply,
Patrick

--- ./bk-2.5/include/scsi/scsi_ioctl.h  2002-10-13 15:07:52.000000000 +0200

        unsigned char host_wwn[8]; // include NULL term.
 } Scsi_FCTargAddress;

+extern int scsi_set_medium_removal(Scsi_Device *dev, char state);
 extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int scsi_ioctl_send_command(Scsi_Device *dev,
                                   Scsi_Ioctl_Command *arg);
-
 #endif

 #endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Compile fix for 2.5 BK current

Hallo List,

I need the following two patches to make BK 2.5 current compile.
Hope it's OK to Cc the netfilter core team ?

Please apply,
Patrick

--- net/ipv4/netfilter/ip_conntrack_standalone.c        2002-10-29 20:27:56.000000000 +0100

        /* Local packets are never produced too large for their
           interface.  We degfragment them at LOCAL_OUT, however,
           so we have to refragment them here. */
-       if ((*pskb)->len > rt->u.dst.pmtu) {
+       if ((*pskb)->len > dst_pmtu(&rt->u.dst)) {
                /* No hook can be after us, so this should be OK. */
                ip_fragment(*pskb, okfn);
                return NF_STOLEN;

--- net/ipv4/netfilter/ipt_REJECT.c     2002-10-29 20:27:56.000000000 +0100

        nskb->dst = &rt->u.dst;

        /* "Never happens" */
-       if (nskb->len > nskb->dst->pmtu)
+       if (nskb->len > dst_pmtu(nskb->dst))
                goto free_nskb;


        /* RFC says return as much as we can without exceeding 576 bytes. */
        length = skb_in->len + sizeof(struct iphdr) + sizeof(struct icmphdr);

-       if (length > rt->u.dst.pmtu)
-               length = rt->u.dst.pmtu;
+       if (length > dst_pmtu(&rt->u.dst))
+               length = dst_pmtu(&rt->u.dst);
        if (length > 576)
                length = 576;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. mysql for solaris (intel) 8

3. fix 3c59x for current 2.5-bk

4. UMSDOS & Xdenu memory question

5. 2.5 current bk fix setting scsi queue depths

6. How could this be written more eliquently...?

7. compile problem in current BK 2.5

8. How do I get OpenGL / Mesa set up under Slackware?

9. 2.5-BK: cpqarray IDA_LOCK compile fix

10. compile fix for dmi_scan.c in 2.4.bk-current

11. Fix: BK-Current doesn't compile w/o SCSI enabled

12. timer hang with current 2.5 BK

13. 2.5.xx (BK current) hangs executing rpcinfo