Skip to content

Commit

Permalink
rose: Delete commented out references to ancient firewalling code.
Browse files Browse the repository at this point in the history
These intefaces haven't existed since 2.2.x

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
davem330 committed Jul 7, 2011
1 parent 5a9d691 commit fa36612
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions net/rose/rose_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions net/rose/rose_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit fa36612

Please sign in to comment.