Skip to content

Commit fa36612

Browse files
committed
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>
1 parent 5a9d691 commit fa36612

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

‎net/rose/rose_link.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,6 @@ void rose_transmit_link(struct sk_buff *skb, struct rose_neigh *neigh)
266266
{
267267
unsigned char *dptr;
268268

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-
276269
if (neigh->loopback) {
277270
rose_loopback_queue(skb, neigh);
278271
return;

‎net/rose/rose_route.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -864,11 +864,6 @@ int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25)
864864
int res = 0;
865865
char buf[11];
866866

867-
#if 0
868-
if (call_in_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT)
869-
return res;
870-
#endif
871-
872867
if (skb->len < ROSE_MIN_LEN)
873868
return res;
874869
frametype = skb->data[2];

0 commit comments

Comments
 (0)