projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cxgb4: Fix incorrect 'c' suffix to %pI4, use %pISc instead
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
ethernet
/
chelsio
/
cxgb4
/
clip_tbl.h
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h
index 2eaba0161cf8104eb8cbf9756112174fd1275b38..35eb43c6bcbbe37e5f934a767154bc4f4fe2f5c7 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h
+++ b/
drivers/net/ethernet/chelsio/cxgb4/clip_tbl.h
@@
-14,8
+14,10
@@
struct clip_entry {
spinlock_t lock; /* Hold while modifying clip reference */
atomic_t refcnt;
struct list_head list;
spinlock_t lock; /* Hold while modifying clip reference */
atomic_t refcnt;
struct list_head list;
- u32 addr[4];
- int addr_len;
+ union {
+ struct sockaddr_in addr;
+ struct sockaddr_in6 addr6;
+ };
};
struct clip_tbl {
};
struct clip_tbl {