mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: remove NIP6(), NIP6_FMT, NIP6_SEQFMT and final users
Open code NIP6_FMT in the one call inside sscanf and one user of NIP6() that could use %p6 in the netfilter code. Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a20fd0a783
commit
b189db5d29
3 changed files with 3 additions and 17 deletions
|
|
@ -133,10 +133,8 @@ ebt_log_packet(u_int8_t pf, unsigned int hooknum,
|
|||
printk(" INCOMPLETE IPv6 header");
|
||||
goto out;
|
||||
}
|
||||
printk(" IPv6 SRC=%x:%x:%x:%x:%x:%x:%x:%x "
|
||||
"IPv6 DST=%x:%x:%x:%x:%x:%x:%x:%x, IPv6 "
|
||||
"priority=0x%01X, Next Header=%d", NIP6(ih->saddr),
|
||||
NIP6(ih->daddr), ih->priority, ih->nexthdr);
|
||||
printk(" IPv6 SRC=%p6 IPv6 DST=%p6, IPv6 priority=0x%01X, Next Header=%d",
|
||||
&ih->saddr, &ih->daddr, ih->priority, ih->nexthdr);
|
||||
nexthdr = ih->nexthdr;
|
||||
offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr);
|
||||
if (offset_ph == -1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue