Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-12
-7
net/rose/rose_link.c
··· 266 266 { 267 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 269 if (neigh->loopback) { 277 270 rose_loopback_queue(skb, neigh); 278 271 return;
-5
net/rose/rose_route.c
··· 864 864 int res = 0; 865 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 867 if (skb->len < ROSE_MIN_LEN) 873 868 return res; 874 869 frametype = skb->data[2];