rose: Delete commented out references to ancient firewalling code.
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 09:41:59 +0000 (02:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 09:41:59 +0000 (02:41 -0700)
These intefaces haven't existed since 2.2.x

Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/rose_link.c
net/rose/rose_route.c

index fa5f564..7a02bd1 100644 (file)
@@ -266,13 +266,6 @@ void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh)
 {
        unsigned char *dptr;
 
-#if 0
-       if (call_fw_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) {
-               kfree_skb(skb);
-               return;
-       }
-#endif
-
        if (neigh->loopback) {
                rose_loopback_queue(skb, neigh);
                return;
index 479cae5..d389de1 100644 (file)
@@ -864,11 +864,6 @@ int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25)
        int res = 0;
        char buf[11];
 
-#if 0
-       if (call_in_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT)
-               return res;
-#endif
-
        if (skb->len < ROSE_MIN_LEN)
                return res;
        frametype = skb->data[2];