mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5a9d69179f
commit
fa366124ef
|
@ -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;
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue