hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/llc/llc_input.c
....@@ -144,6 +144,7 @@
144144 * @skb: received pdu
145145 * @dev: device that receive pdu
146146 * @pt: packet type
147
+ * @orig_dev: the original receive net device
147148 *
148149 * When the system receives a 802.2 frame this function is called. It
149150 * checks SAP and connection of received pdu and passes frame to
....@@ -161,9 +162,6 @@
161162 struct packet_type *, struct net_device *);
162163 void (*sta_handler)(struct sk_buff *skb);
163164 void (*sap_handler)(struct llc_sap *sap, struct sk_buff *skb);
164
-
165
- if (!net_eq(dev_net(dev), &init_net))
166
- goto drop;
167165
168166 /*
169167 * When the interface is in promisc. mode, drop all the crap that it