Hi Netdev I writing a new protocol handler using dev_add_pack(). (For a Marvell switch chip handling DSA (Distributed Switch Architecture) Ethertype packets).
My protocol handler works and I get the skb. But I want to remove the DSA Headers and send the packet back for normal processing on a device. (I actually just want to be able to tcpdump these packets on the device). I'm removing the headers by: skb_pull(skb, sizeof(struct dsa_header)); I'm trying to retransmit it by: netif_rx(skb); But it seems that I just retransmit the same packet without removing the DSA headers. Any hints about which functions I should use the remove the DSA header? -- Med venlig hilsen / Best regards Jesper Brouer ComX Networks A/S Linux Network developer Cand. Scient Datalog / MSc. Author of http://adsl-optimizer.dk LinkedIn: http://www.linkedin.com/in/brouer -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html