projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5f185f
)
bridge: new mode flag to indicate mode 'undefined'
author
Roopa Prabhu
<
[email protected]
>
Mon, 8 Dec 2014 22:04:19 +0000
(14:04 -0800)
committer
David S. Miller
<
[email protected]
>
Tue, 9 Dec 2014 23:24:47 +0000
(18:24 -0500)
This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not needed.
Signed-off-by: Roopa Prabhu <
[email protected]
>
Signed-off-by: Scott Feldman <
[email protected]
>
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/uapi/linux/if_bridge.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/if_bridge.h
b/include/uapi/linux/if_bridge.h
index 296a556454e344b2cad71bc508b1fd047ebdf380..05f08695c6c97b760218876384a778d8a9039dd9 100644
(file)
--- a/
include/uapi/linux/if_bridge.h
+++ b/
include/uapi/linux/if_bridge.h
@@
-106,6
+106,7
@@
struct __fdb_entry {
#define BRIDGE_MODE_VEB 0 /* Default loopback mode */
#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */
#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */
+#define BRIDGE_MODE_UNDEF 0xFFFF /* mode undefined */
/* Bridge management nested attributes
* [IFLA_AF_SPEC] = {