diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-07 05:41:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 05:41:59 -0400 |
commit | fa366124ef3aab35e378ae141f379c133d839943 (patch) | |
tree | c88211651bbf279f2098286ef3a569cb6068c24e /net/rose | |
parent | 5a9d69179f294691bdfd1278f64212a9a7815b0e (diff) |
rose: Delete commented out references to ancient firewalling code.
These intefaces haven't existed since 2.2.x
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose')
-rw-r--r-- | net/rose/rose_link.c | 7 | ||||
-rw-r--r-- | net/rose/rose_route.c | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/net/rose/rose_link.c b/net/rose/rose_link.c index fa5f5641a2c2..7a02bd1cc5a0 100644 --- a/net/rose/rose_link.c +++ b/net/rose/rose_link.c | |||
@@ -266,13 +266,6 @@ void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh) | |||
266 | { | 266 | { |
267 | unsigned char *dptr; | 267 | unsigned char *dptr; |
268 | 268 | ||
269 | #if 0 | ||
270 | if (call_fw_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) { | ||
271 | kfree_skb(skb); | ||
272 | return; | ||
273 | } | ||
274 | #endif | ||
275 | |||
276 | if (neigh->loopback) { | 269 | if (neigh->loopback) { |
277 | rose_loopback_queue(skb, neigh); | 270 | rose_loopback_queue(skb, neigh); |
278 | return; | 271 | return; |
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 479cae57d187..d389de197089 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c | |||
@@ -864,11 +864,6 @@ int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25) | |||
864 | int res = 0; | 864 | int res = 0; |
865 | char buf[11]; | 865 | char buf[11]; |
866 | 866 | ||
867 | #if 0 | ||
868 | if (call_in_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) | ||
869 | return res; | ||
870 | #endif | ||
871 | |||
872 | if (skb->len < ROSE_MIN_LEN) | 867 | if (skb->len < ROSE_MIN_LEN) |
873 | return res; | 868 | return res; |
874 | frametype = skb->data[2]; | 869 | frametype = skb->data[2]; |