string: factorize skip_spaces and export it to be generally available
[safe/jmp/linux-2.6] / include / linux / netfilter_bridge / ebt_802_3.h
index 07f044f..c73ef0b 100644 (file)
@@ -54,12 +54,11 @@ struct ebt_802_3_hdr {
 
 static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb)
 {
-       return (struct ebt_802_3_hdr *)skb->mac.raw;
+       return (struct ebt_802_3_hdr *)skb_mac_header(skb);
 }
 #endif
 
-struct ebt_802_3_info 
-{
+struct ebt_802_3_info {
        uint8_t  sap;
        __be16 type;
        uint8_t  bitmask;